Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F2112525
admin_events_handler.php
No One
Temporary
Actions
Download 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
Wed, Nov 18, 1:40 PM
Size
629 B
Mime Type
text/x-php
Expires
Fri, Nov 20, 1:40 PM (6 h, 58 m)
Engine
blob
Format
Raw Data
Handle
993644
Attached To
rINP In-Portal
admin_events_handler.php
View Options
<?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"'
);
}
}
Event Timeline
Log In to Comment