From 724d027f199f77c6e1442c03dba4b3363f973412 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 4 Jun 2014 16:29:41 +0200 Subject: add unit test --- settings/ajax/updateapp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/ajax/updateapp.php') 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 { -- cgit v1.2.3