aboutsummaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-15 11:31:13 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-12-18 20:57:11 +0100
commitd2d73f1ce8733623a780db62427c61ff007b33cb (patch)
tree4f8b0497b30a2d86b3b216eaf378b71d6a37e7ab /settings/ajax
parent5ce943aa8501d6a7240175a934858c26f267f7ca (diff)
downloadnextcloud-server-d2d73f1ce8733623a780db62427c61ff007b33cb.tar.gz
nextcloud-server-d2d73f1ce8733623a780db62427c61ff007b33cb.zip
Also replace all other occurences
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/uninstallapp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php
index b4a2468bd2a..a932e2d79e9 100644
--- a/settings/ajax/uninstallapp.php
+++ b/settings/ajax/uninstallapp.php
@@ -43,8 +43,8 @@ $appId = OC_App::cleanAppId($appId);
$result = OC_App::removeApp($appId);
if($result !== false) {
// FIXME: Clear the cache - move that into some sane helper method
- \OC::$server->getMemCacheFactory()->create('settings')->remove('listApps-0');
- \OC::$server->getMemCacheFactory()->create('settings')->remove('listApps-1');
+ \OC::$server->getMemCacheFactory()->createDistributed('settings')->remove('listApps-0');
+ \OC::$server->getMemCacheFactory()->createDistributed('settings')->remove('listApps-1');
OC_JSON::success(array('data' => array('appid' => $appId)));
} else {
$l = \OC::$server->getL10N('settings');