Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1101332
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Aug 16, 3:07 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Mon, Aug 18, 3:07 PM (17 h, 46 m)
Engine
blob
Format
Raw Data
Handle
713255
Attached To
rINP In-Portal
in-portal
View Options
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
Log In to Comment