diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-02 00:50:26 +0200 |
commit | 2fe646dcec08b36179aa2b6ebca447a20e409b03 (patch) | |
tree | e5b909e88d9271e3301c9db3fea8771d059a914d /apps/files/appinfo | |
parent | c94f39b488f9ae6bd24cbdbb5cfa877e29f199e3 (diff) | |
download | nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.tar.gz nextcloud-server-2fe646dcec08b36179aa2b6ebca447a20e409b03.zip |
ported the oc_app calls
Diffstat (limited to 'apps/files/appinfo')
-rwxr-xr-x | apps/files/appinfo/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php index 0e82713fe5c..4a05a655957 100755 --- a/apps/files/appinfo/app.php +++ b/apps/files/appinfo/app.php @@ -3,8 +3,8 @@ $l=OC_L10N::get('files'); -OC_App::register( array( "order" => 2, "id" => "files", "name" => "Files" )); +OCP\App::register( array( "order" => 2, "id" => "files", "name" => "Files" )); -OC_App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href" => OCP\Util::linkTo( "files", "index.php" ), "icon" => OCP\Util::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") )); +OCP\App::addNavigationEntry( array( "id" => "files_index", "order" => 0, "href" => OCP\Util::linkTo( "files", "index.php" ), "icon" => OCP\Util::imagePath( "core", "places/home.svg" ), "name" => $l->t("Files") )); OC_Search::registerProvider('OC_Search_Provider_File'); |