-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from owncloud/new-settings
Use new settings registration style
- Loading branch information
Showing
5 changed files
with
44 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/** | ||
* ownCloud | ||
* | ||
* @author Jörn Friedrich Dreyer <[email protected]> | ||
* @copyright (C) 2017 ownCloud GmbH | ||
* | ||
* This code is covered by the ownCloud Commercial License. | ||
* | ||
* You should have received a copy of the ownCloud Commercial License | ||
* along with this program. If not, see <https://owncloud.com/licenses/owncloud-commercial/>. | ||
* | ||
*/ | ||
|
||
namespace OCA\search_elastic; | ||
|
||
use OCP\Settings\ISettings; | ||
|
||
class AdminPanel implements ISettings { | ||
|
||
public function getPanel() { | ||
return new \OCP\Template('search_elastic', 'settings/admin'); | ||
} | ||
|
||
public function getSectionID() { | ||
return 'search'; | ||
} | ||
|
||
public function getPriority() { | ||
return 50; | ||
} | ||
|
||
} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters