[ticket/212] Add tests for moving modules

B3P-212
This commit is contained in:
marc1706
2014-02-06 22:50:56 +01:00
parent fc78d5c5ed
commit 68cd966f3b
3 changed files with 107 additions and 1 deletions

View File

@@ -834,7 +834,7 @@ class portal_module
*
* @param int $module_id ID of the module that should be moved
*/
protected function move_module_up($module_id)
public function move_module_up($module_id)
{
$sql = 'SELECT module_order, module_column
FROM ' . PORTAL_MODULES_TABLE . '