summaryrefslogtreecommitdiff
path: root/classes/handler/public.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-08-02 14:12:56 +0400
committerAndrew Dolgov <[email protected]>2013-08-02 14:12:56 +0400
commit4e5ddeafa655d91e60a27f7aa7dcb9e98fdba853 (patch)
treef1fbaa59a5d6097229fd6f5adec3b0b003665b11 /classes/handler/public.php
parent8e47022036cdba907add2a375bf0c23a4043746f (diff)
make cache starred plugin use hook_house_keeping
Diffstat (limited to 'classes/handler/public.php')
-rw-r--r--classes/handler/public.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 9c0359507..7fb2771bd 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -391,10 +391,13 @@ class Handler_Public extends Handler {
}
function updateTask() {
-
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
}
+ function housekeepingTask() {
+ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", $op);
+ }
+
function globalUpdateFeeds() {
RPC::updaterandomfeed_real($this->dbh);