Commit 04f636f4 authored by anarcat's avatar anarcat

1282430 - remove duplicate hosting_available_tasks()

the only logical reason this was there was that it had a side effect,
and it seems really odd that it should, so let's remove it and see
what breaks.
parent dcc9da6c
......@@ -1103,7 +1103,6 @@ function _hosting_task_list($filter_by, $filter_value, $count = 5, $element = 0,
function hosting_task_fetch_tasks($rid) {
$node = node_load($rid);
$tasks = hosting_available_tasks($node->type);
$result = db_query("SELECT n.nid, t.task_type, t.task_status FROM {node} n LEFT JOIN {hosting_task} t ON n.vid=t.vid
WHERE n.type = 'task' AND t.rid = %d
ORDER BY t.task_status ASC, n.changed DESC", $rid);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment