]> git.mjollnir.org Git - moodle.git/commitdiff
fixing merge issue between portfolio & messaging events
authormjollnir_ <mjollnir_>
Mon, 28 Jul 2008 14:35:01 +0000 (14:35 +0000)
committermjollnir_ <mjollnir_>
Mon, 28 Jul 2008 14:35:01 +0000 (14:35 +0000)
lib/db/events.php

index 49db794761fa6b17fbedd1101a9a798e608fdb20..011179b76d8e63119fbe177bc3793fc6ff57d25a 100644 (file)
@@ -73,8 +73,19 @@ $handlers = array (
          'handlerfile'      => '/lib/messagelib.php',
          'handlerfunction'  => 'message_send_handler', 
          'schedule'         => 'instant'
-     )
+     ),
+
+/*
+ * portfolio queued event - for non interactive file transfers
+*/
+    'portfolio_send' => array (
+        'handlerfile'      => '/lib/portfolio.php',
+        'handlerfunction'  => 'portfolio_handle_event',    // argument to call_user_func(), could be an array
+        'schedule'         => 'cron'
+    ),
 
+
+/* more go here */
 );
 
 
@@ -121,17 +132,6 @@ groups_groupings_deleted        - int course id - deleted all course groupings
 role_assigned         - object role_assignments table record
 role_unassigned       - object role_assignments table record
 
-==== portfolio related events ====
-
-portfolio_send        - when a user wants to send some content to a portfolio
-
 */
-$handlers = array (
-    'portfolio_send' => array (
-        'handlerfile'      => '/lib/portfolio.php',
-        'handlerfunction'  => 'portfolio_handle_event',    // argument to call_user_func(), could be an array
-        'schedule'         => 'cron'
-    )
-);
 
 ?>