diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-03-31 22:41:43 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-03-31 22:41:43 +0000 |
commit | d20eea9761238e0569f538c6f8b1bb553068bf7b (patch) | |
tree | af397e1ca89dadd7d75a684f405f173d625d826e /lib/migrate.php | |
parent | 73eca66a892ade0894e35fb4b57d7b45a5e1c872 (diff) | |
download | nextcloud-server-d20eea9761238e0569f538c6f8b1bb553068bf7b.tar.gz nextcloud-server-d20eea9761238e0569f538c6f8b1bb553068bf7b.zip |
Use ajax to download file, OC_Dialogs for errors
Diffstat (limited to 'lib/migrate.php')
-rw-r--r-- | lib/migrate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php index fe5ac456005..db3852fb832 100644 --- a/lib/migrate.php +++ b/lib/migrate.php @@ -73,12 +73,12 @@ class OC_Migrate{ /** * @breif exports a user, or owncloud instance + * @param optional $uid string user id of user to export if export type is user, defaults to current * @param ootional $type string type of export, defualts to user * @param otional $path string path to zip output folder - * @param optional $uid string user id of user to export if export type is user, defaults to current * @return false on error, path to zip on success */ - public static function export( $type='user', $path=null, $uid=null ){ + public static function export( $uid=null, $type='user', $path=null ){ $datadir = OC_Config::getValue( 'datadirectory' ); // Validate export type $types = array( 'user', 'instance', 'system', 'userfiles' ); |