Hide instance import as it eats data
This commit is contained in:
parent
00449cdf37
commit
d2886f2020
2 changed files with 9 additions and 1 deletions
|
@ -6,12 +6,16 @@
|
|||
</p>
|
||||
<h3>What would you like to export?</h3>
|
||||
<p>
|
||||
<input type="radio" name="export_type" value="instance" /> ownCloud instance ( suitable for import )<br />
|
||||
<input type="radio" name="export_type" value="instance" /> ownCloud instance (suitable for import )<br />
|
||||
<input type="radio" name="export_type" value="system" /> ownCloud system files<br />
|
||||
<input type="radio" name="export_type" value="userfiles" /> Just user files<br />
|
||||
<input type="submit" name="admin_export" value="<?php echo $l->t('Export'); ?>" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php
|
||||
/*
|
||||
* EXPERIMENTAL
|
||||
?>
|
||||
<form id="import" action="#" method="post" enctype="multipart/form-data">
|
||||
<fieldset class="personalblock">
|
||||
<legend><strong><?php echo $l->t('Import an ownCloud instance. THIS WILL DELETE ALL CURRENT OWNCLOUD DATA');?></strong></legend>
|
||||
|
@ -22,3 +26,6 @@
|
|||
<input type="submit" name="admin_import" value="<?php echo $l->t('Import'); ?>" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php
|
||||
*/
|
||||
?>
|
||||
|
|
|
@ -258,6 +258,7 @@ class OC_Migrate{
|
|||
break;
|
||||
case 'instance':
|
||||
/*
|
||||
* EXPERIMENTAL
|
||||
// Check for new data dir and dbexport before doing anything
|
||||
// TODO
|
||||
|
||||
|
|
Loading…
Reference in a new issue