diff options
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/js/js.js b/core/js/js.js index f32bd554555..e9e66fd63fc 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1,5 +1,3 @@ -/* global oc_isadmin */ - var oc_debug; var oc_webroot; @@ -611,16 +609,6 @@ Object.assign(window.OC, { }, /** - * Returns whether the current user is an administrator - * - * @return {bool} true if the user is an admin, false otherwise - * @since 9.0.0 - */ - isUserAdmin: function() { - return oc_isadmin; - }, - - /** * Warn users that the connection to the server was lost temporarily * * This function is throttled to prevent stacked notfications. |