[ticket/216] Use handle_after_move() in move_module_down()
B3P-216
This commit is contained in:
@@ -943,13 +943,8 @@ class portal_module
|
|||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
$this->handle_after_move($updated, true);
|
||||||
trigger_error($this->user->lang['UNABLE_TO_MOVE_ROW'] . adm_back_link($this->u_action));
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->cache->destroy('portal_modules');
|
|
||||||
redirect($this->u_action); // redirect in order to get rid of excessive URL parameters
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user