mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
rename admin_export -> admin_migrate
This commit is contained in:
parent
23d39f7ef0
commit
00449cdf37
4 changed files with 10 additions and 12 deletions
|
|
@ -1,10 +1,8 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* ownCloud - user_ldap
|
||||
* ownCloud - admin_migrate
|
||||
*
|
||||
* @author Dominik Schmidt
|
||||
* @copyright 2011 Dominik Schmidt dev@dominik-schmidt.de
|
||||
* @author Tom Needham
|
||||
* @copyright 2012 Tom Needham tom@owncloud.com
|
||||
*
|
||||
|
|
@ -24,12 +22,12 @@
|
|||
*/
|
||||
|
||||
|
||||
OC_APP::registerAdmin('admin_export','settings');
|
||||
OC_APP::registerAdmin('admin_migrate','settings');
|
||||
|
||||
// add settings page to navigation
|
||||
$entry = array(
|
||||
'id' => "admin_export_settings",
|
||||
'id' => "admin_migrate_settings",
|
||||
'order'=>1,
|
||||
'href' => OC_Helper::linkTo( "admin_export", "settings.php" ),
|
||||
'href' => OC_Helper::linkTo( "admin_migrate", "settings.php" ),
|
||||
'name' => 'Export'
|
||||
);
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0"?>
|
||||
<info>
|
||||
<id>admin_export</id>
|
||||
<name>Import/Export</name>
|
||||
<description>Import/Export your owncloud data</description>
|
||||
<id>admin_migrate</id>
|
||||
<name>ownCloud Instance Migration</name>
|
||||
<description>Import/Export your owncloud instance</description>
|
||||
<version>0.1</version>
|
||||
<licence>AGPL</licence>
|
||||
<author>Thomas Schmidt and Tom Needham</author>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* ownCloud - admin export
|
||||
* ownCloud - admin_migrate
|
||||
*
|
||||
* @author Thomas Schmidt
|
||||
* @copyright 2011 Thomas Schmidt tom@opensuse.org
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
*
|
||||
*/
|
||||
OC_Util::checkAdminUser();
|
||||
OC_Util::checkAppEnabled('admin_export');
|
||||
OC_Util::checkAppEnabled('admin_migrate');
|
||||
|
||||
// Export?
|
||||
if (isset($_POST['admin_export'])) {
|
||||
|
|
@ -50,6 +50,6 @@ if (isset($_POST['admin_export'])) {
|
|||
|
||||
} else {
|
||||
// fill template
|
||||
$tmpl = new OC_Template('admin_export', 'settings');
|
||||
$tmpl = new OC_Template('admin_migrate', 'settings');
|
||||
return $tmpl->fetchPage();
|
||||
}
|
||||
Loading…
Reference in a new issue