diff options
Diffstat (limited to 'lib/models/CourseWizardStepRegistry.php')
| -rw-r--r-- | lib/models/CourseWizardStepRegistry.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/models/CourseWizardStepRegistry.php b/lib/models/CourseWizardStepRegistry.php index 4f9eb6fc..5630832 100644 --- a/lib/models/CourseWizardStepRegistry.php +++ b/lib/models/CourseWizardStepRegistry.php @@ -16,7 +16,6 @@ class CourseWizardStepRegistry extends SimpleORMap { - protected static function configure($config = []) { $config['db_table'] = 'coursewizardsteps'; @@ -36,8 +35,7 @@ class CourseWizardStepRegistry extends SimpleORMap public static function unregisterStep($id) { $step = self::find($id); - if ($step) - { + if ($step) { return $step->delete(); } return true; @@ -48,4 +46,4 @@ class CourseWizardStepRegistry extends SimpleORMap return sizeof(self::findBySQL("`enabled`=1")) > 0 ? true : false; } -}
\ No newline at end of file +} |
