]> git.mjollnir.org Git - moodle.git/commitdiff
removed extra code
authortoyomoyo <toyomoyo>
Thu, 10 May 2007 03:50:07 +0000 (03:50 +0000)
committertoyomoyo <toyomoyo>
Thu, 10 May 2007 03:50:07 +0000 (03:50 +0000)
lib/eventslib.php

index bfa1bcbcb54ec0d37d60b7a50e18255e6a60ed30..6b00dbea9bb16a39e91ca073425c22d06f37a8da 100755 (executable)
@@ -41,10 +41,7 @@ function events_load_def($component) {
 
     if (file_exists($defpath)) {
         require($defpath);
-        $compevents = $events;
-    }
-    if ($compevents) {
-        return $compevents;
+        return $events;
     }
 }