From e016ed55ff803f599414f72b7014be0911d95ec4 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 12 May 2015 17:44:31 +0200 Subject: also free joblist and base from file cache code --- lib/base.php | 14 -------------- lib/private/backgroundjob/joblist.php | 3 --- 2 files changed, 17 deletions(-) (limited to 'lib') diff --git a/lib/base.php b/lib/base.php index a9d582dcc39..c0ee3e84e19 100644 --- a/lib/base.php +++ b/lib/base.php @@ -652,7 +652,6 @@ class OC { OC_User::setupBackends(); } - self::registerCacheHooks(); self::registerFilesystemHooks(); if (\OC::$server->getSystemConfig()->getValue('enable_previews', false)) { self::registerPreviewHooks(); @@ -730,19 +729,6 @@ class OC { } } - /** - * register hooks for the cache - */ - public static function registerCacheHooks() { - if (\OC::$server->getSystemConfig()->getValue('installed', false) && !\OCP\Util::needUpgrade()) { //don't try to do this before we are properly setup - \OCP\BackgroundJob::registerJob('OC\Cache\FileGlobalGC'); - - // NOTE: This will be replaced to use OCP - $userSession = \OC_User::getUserSession(); - $userSession->listen('postLogin', '\OC\Cache\File', 'loginListener'); - } - } - /** * register hooks for the cache */ diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php index c568873bb46..e8915b47f24 100644 --- a/lib/private/backgroundjob/joblist.php +++ b/lib/private/backgroundjob/joblist.php @@ -172,9 +172,6 @@ class JobList implements IJobList { /** * @var Job $job */ - if ($class === 'OC_Cache_FileGlobalGC') { - $class = '\OC\Cache\FileGlobalGC'; - } if (!class_exists($class)) { // job from disabled app or old version of an app, no need to do anything return null; -- cgit v1.2.3 Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/destroy.html.erb
blob: d6270b6857286450be18dc46dd38f39eb84b628e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22