aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-11-12 17:39:25 +0100
committerLukas Reschke <lukas@owncloud.com>2014-11-12 17:39:25 +0100
commit4302a78b27389cb8f4cdb61cc1f4167e4ecd522a (patch)
treeca8e73481088429f853c3e33ee272bcb55d11026 /lib/public/appframework
parentd5796bbaf9fdcd21ed7de6489972ef0993993ccf (diff)
downloadnextcloud-server-4302a78b27389cb8f4cdb61cc1f4167e4ecd522a.tar.gz
nextcloud-server-4302a78b27389cb8f4cdb61cc1f4167e4ecd522a.zip
Deprecate older API wrappers and calls
Those old classes have now non-static pendants and can be deprecated IMHO.
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/iapi.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/appframework/iapi.php b/lib/public/appframework/iapi.php
index 9af251be850..ecbc0fd1900 100644
--- a/lib/public/appframework/iapi.php
+++ b/lib/public/appframework/iapi.php
@@ -37,6 +37,7 @@ interface IApi {
/**
* Gets the userid of the current user
* @return string the user id of the current user
+ * @deprecated Use \OC::$server->getUserSession()->getUser()->getUID()
*/
function getUserId();