Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 02:50:26 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 02:50:26 +0400
commit6ff67fca91b621da5ced7486259bb9f8e5dbcb83 (patch)
treea39311c9028efa3e7f2b859694fa542fe79e4f07 /user_webfinger
parent696752b4819530b0e3e21e0a672c000c2df3c198 (diff)
ported the oc_app calls
Diffstat (limited to 'user_webfinger')
-rwxr-xr-x[-rw-r--r--]user_webfinger/appinfo/app.php2
-rwxr-xr-x[-rw-r--r--]user_webfinger/webfinger.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/user_webfinger/appinfo/app.php b/user_webfinger/appinfo/app.php
index 8e8f92c96..f7b927df8 100644..100755
--- a/user_webfinger/appinfo/app.php
+++ b/user_webfinger/appinfo/app.php
@@ -1,5 +1,5 @@
<?php
-OC_App::register( array(
+OCP\App::register( array(
'order' => 11,
'id' => 'user_webfinger',
'name' => 'Webfinger' ));
diff --git a/user_webfinger/webfinger.php b/user_webfinger/webfinger.php
index 51686111b..da35cf29d 100644..100755
--- a/user_webfinger/webfinger.php
+++ b/user_webfinger/webfinger.php
@@ -61,7 +61,7 @@ echo "<";
<?php
$apps = OC_Appconfig::getApps();
foreach($apps as $app) {
- if(OC_App::isEnabled($app)) {
+ if(OCP\App::isEnabled($app)) {
if(is_file(OC::$APPSROOT . '/apps/' . $app . '/appinfo/webfinger.php')) {
require($app . '/appinfo/webfinger.php');
}