Skip to content
Snippets Groups Projects
Commit 00449cdf authored by Tom Needham's avatar Tom Needham
Browse files

rename admin_export -> admin_migrate

parent 23d39f7e
No related branches found
No related tags found
No related merge requests found
<?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'
);
<?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>
......
<?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();
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment