tbrehm
2012-08-21 acf18c355573d4ad747f1d7a563e1e6a10c4c171
server/mods-available/database_module.inc.php
@@ -75,6 +75,7 @@
      */
      
      $app->modules->registerTableHook('web_database','database_module','process');
      //$app->modules->registerTableHook('web_database_user','database_module','process');
      
      // Register service
      //$app->services->registerService('httpd','web_module','restartHttpd');
@@ -95,6 +96,13 @@
            if($action == 'u') $app->plugins->raiseEvent('database_update',$data);
            if($action == 'd') $app->plugins->raiseEvent('database_delete',$data);
         break;
         /*
         case 'web_database_user':
            if($action == 'i') $app->plugins->raiseEvent('database_user_insert',$data);
            if($action == 'u') $app->plugins->raiseEvent('database_user_update',$data);
            if($action == 'd') $app->plugins->raiseEvent('database_user_delete',$data);
         break;
         */
      } // end switch
   } // end function