summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-08-03 11:47:05 +0000
committerTom Needham <needham.thomas@gmail.com>2012-08-03 11:47:05 +0000
commita7906d813ad342f06d4834c10c1200002f7342d2 (patch)
tree3febe27bb1e19dfd93916856057f63cb0d699669 /lib/api.php
parent88c6928bade99676ab44dd43519dd40d470515c6 (diff)
downloadnextcloud-server-a7906d813ad342f06d4834c10c1200002f7342d2.tar.gz
nextcloud-server-a7906d813ad342f06d4834c10c1200002f7342d2.zip
Move OAuth classes into lib/oauth
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api.php b/lib/api.php
index c8bd0aec2fa..8fdfc63070b 100644
--- a/lib/api.php
+++ b/lib/api.php
@@ -23,7 +23,7 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
-
+
class OC_API {
private static $server;
@@ -32,7 +32,7 @@ class OC_API {
* initialises the OAuth store and server
*/
private static function init() {
- self::$server = new OC_OAuthServer(new OC_OAuthStore());
+ self::$server = new OC_OAuth_Server(new OC_OAuth_Store());
}
/**