Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Sat, Aug 16, 3:07 PM

in-portal

Index: branches/unlabeled/unlabeled-1.2.10/kernel/units/admin/admin_events_handler.php
===================================================================
--- branches/unlabeled/unlabeled-1.2.10/kernel/units/admin/admin_events_handler.php (revision 7735)
+++ branches/unlabeled/unlabeled-1.2.10/kernel/units/admin/admin_events_handler.php (revision 7736)
@@ -1,27 +1,35 @@
<?php
class AdminEventsHandler extends InpDBEventHandler {
function OnResetModRwCache(&$event)
{
$this->Conn->Query('DELETE FROM '.TABLE_PREFIX.'Cache WHERE VarName LIKE "mod_rw%"');
}
function OnResetCMSMenuCache(&$event)
{
$this->Conn->Query('DELETE FROM '.TABLE_PREFIX.'Cache WHERE VarName = "cms_menu"');
}
function OnResetSections(&$event)
{
$this->Conn->Query('DELETE FROM '.TABLE_PREFIX.'Cache WHERE VarName = "sections_parsed"');
}
function OnResetConfigsCache(&$event)
{
$this->Conn->Query('DELETE FROM '.TABLE_PREFIX.'Cache WHERE VarName = "config_files" OR VarName = "configs_parsed"');
}
+ /**
+ * Occurs right after initialization of the kernel, used mainly as hook-to event
+ *
+ * @param kEvent $event
+ */
+ function OnStartup(&$event)
+ {
-
+ }
+
}
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.2.10/kernel/units/admin/admin_events_handler.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.2
\ No newline at end of property
+1.2.10.1
\ No newline at end of property

Event Timeline