MDL-26096 added missing return
authorPetr Skoda <commits@skodak.org>
Sun, 23 Jan 2011 19:10:10 +0000 (20:10 +0100)
committerPetr Skoda <commits@skodak.org>
Sun, 23 Jan 2011 19:10:10 +0000 (20:10 +0100)
enrol/category/locallib.php

index 6924eaa..060e733 100644 (file)
@@ -254,6 +254,7 @@ function enrol_category_sync_full() {
                 $plugin->delete_instance($instance);
             }
         }
+        return;
     }
 
     list($roleids, $params) = $DB->get_in_or_equal(array_keys($roles), SQL_PARAMS_NAMED, 'r000');