summaryrefslogtreecommitdiffstats
path: root/settings/ajax/uninstallapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/uninstallapp.php')
-rw-r--r--settings/ajax/uninstallapp.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php
index cae7c33f292..e50fc31a449 100644
--- a/settings/ajax/uninstallapp.php
+++ b/settings/ajax/uninstallapp.php
@@ -12,6 +12,9 @@ $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_JSON::success(array('data' => array('appid' => $appId)));
} else {
$l = \OC::$server->getL10N('settings');