diff options
Diffstat (limited to 'settings/ajax/uninstallapp.php')
-rw-r--r-- | settings/ajax/uninstallapp.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/uninstallapp.php b/settings/ajax/uninstallapp.php index 63107905b02..26100d3b066 100644 --- a/settings/ajax/uninstallapp.php +++ b/settings/ajax/uninstallapp.php @@ -22,8 +22,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ -OCP\JSON::checkAdminUser(); -OCP\JSON::callCheck(); +\OC_JSON::checkAdminUser(); +\OC_JSON::callCheck(); $lastConfirm = (int) \OC::$server->getSession()->get('last-password-confirm'); if ($lastConfirm < (time() - 30 * 60 + 15)) { // allow 15 seconds delay |