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

Hide instance import as it eats data

parent 00449cdf
Branches
No related tags found
No related merge requests found
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
<input type="submit" name="admin_export" value="<?php echo $l->t('Export'); ?>" /> <input type="submit" name="admin_export" value="<?php echo $l->t('Export'); ?>" />
</fieldset> </fieldset>
</form> </form>
<?php
/*
* EXPERIMENTAL
?>
<form id="import" action="#" method="post" enctype="multipart/form-data"> <form id="import" action="#" method="post" enctype="multipart/form-data">
<fieldset class="personalblock"> <fieldset class="personalblock">
<legend><strong><?php echo $l->t('Import an ownCloud instance. THIS WILL DELETE ALL CURRENT OWNCLOUD DATA');?></strong></legend> <legend><strong><?php echo $l->t('Import an ownCloud instance. THIS WILL DELETE ALL CURRENT OWNCLOUD DATA');?></strong></legend>
...@@ -22,3 +26,6 @@ ...@@ -22,3 +26,6 @@
<input type="submit" name="admin_import" value="<?php echo $l->t('Import'); ?>" /> <input type="submit" name="admin_import" value="<?php echo $l->t('Import'); ?>" />
</fieldset> </fieldset>
</form> </form>
<?php
*/
?>
...@@ -258,6 +258,7 @@ class OC_Migrate{ ...@@ -258,6 +258,7 @@ class OC_Migrate{
break; break;
case 'instance': case 'instance':
/* /*
* EXPERIMENTAL
// Check for new data dir and dbexport before doing anything // Check for new data dir and dbexport before doing anything
// TODO // TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment