summaryrefslogtreecommitdiffstats
path: root/settings/ajax/updateapp.php
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-06-04 16:29:41 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-06-04 16:29:41 +0200
commit724d027f199f77c6e1442c03dba4b3363f973412 (patch)
tree52e239f783193639789b6cf0604c1b17546ebb38 /settings/ajax/updateapp.php
parent2c00ab13cf1dca45035e88ecad854997f78cf51c (diff)
downloadnextcloud-server-724d027f199f77c6e1442c03dba4b3363f973412.tar.gz
nextcloud-server-724d027f199f77c6e1442c03dba4b3363f973412.zip
add unit test
Diffstat (limited to 'settings/ajax/updateapp.php')
-rw-r--r--settings/ajax/updateapp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/updateapp.php b/settings/ajax/updateapp.php
index 5eb0a277cba..7010dfe23b5 100644
--- a/settings/ajax/updateapp.php
+++ b/settings/ajax/updateapp.php
@@ -30,7 +30,7 @@ if (!is_numeric($appId)) {
$appId = OC_App::cleanAppId($appId);
-$result = OC_Installer::updateApp($appId);
+$result = OC_Installer::updateAppByOCSId($appId);
if($result !== false) {
OC_JSON::success(array('data' => array('appid' => $appId)));
} else {