Commit b3aea920 authored by Florian Kaiser's avatar Florian Kaiser

Replace deprecated library calls. Requires now at least ownCloud 8.1.

parent a90c1c32
Pipeline #6024 failed with stage
in 5 seconds
......@@ -11,7 +11,8 @@
namespace OCA\BulkUpload\AppInfo;
\OCP\App::addNavigationEntry([
//\OCP\App::addNavigationEntry([
\OC::$server->getNavigationManager()->add([
// the string under which your app will be referenced in owncloud
'id' => 'bulkupload',
......@@ -20,11 +21,11 @@ namespace OCA\BulkUpload\AppInfo;
'order' => 10,
// the route that will be shown on startup
'href' => \OCP\Util::linkToRoute('bulkupload.page.index'),
'href' => \OC::$server->getURLGenerator()->linkToRoute('bulkupload.page.index'),
// the icon that will be shown in the navigation
// this file needs to exist in img/
'icon' => \OCP\Util::imagePath('bulkupload', 'app.svg'),
'icon' => \OC::$server->getURLGenerator()->imagePath('bulkupload', 'app.svg'),
// the title of your application. This will be used in the
// navigation or on the settings page of your app
......
......@@ -9,7 +9,7 @@
<namespace>BulkUpload</namespace>
<category>other</category>
<dependencies>
<owncloud min-version="8.0" max-version="9" />
<owncloud min-version="8.1" max-version="9" />
</dependencies>
<repository type="git">http://github.com/rzg-kaiser/bulkupload.git</repository>
<bugs>https://github.com/rzg-kaiser/bulkupload/issues</bugs>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment