Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-03-17 21:45:39 +0400
committerTom Needham <needham.thomas@gmail.com>2012-03-17 21:45:39 +0400
commit77f6872ea4859e13637efbc6d051072a5085394f (patch)
tree39108475b07e940de3fd1fc9ad6fb7aa895a0b01 /lib/migrate.php
parentbc085c3ff40bd7980bb28a20238bf18a754ffba2 (diff)
Shorten export zip names
Diffstat (limited to 'lib/migrate.php')
-rw-r--r--lib/migrate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrate.php b/lib/migrate.php
index 415c33e5bea..84eafcd4cdc 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -126,7 +126,7 @@ class OC_Migrate{
*/
static public function createSysExportFile( $exporttype='instance', $path=null ){
// Calculate zip name
- $zipname = "owncloud_export_" . date("y-m-d_H-i-s") . ".zip";
+ $zipname = "oc_export_" . date("y-m-d_H-i-s") . ".zip";
// Get the data dir
$datadir = OC_Config::getValue( 'datadirectory' );
// Calculate destination
@@ -293,7 +293,7 @@ class OC_Migrate{
$user = OC_User::getUser();
$userdatadir = OC_Config::getValue( 'datadirectory' ) . '/' . $user . '/';
// Calculate zip name
- $zipname = "owncloud_userexport_" . $user . '_' . date("y-m-d_H-i-s") . ".zip";
+ $zipname = "oc_userexport_" . $user . '_' . date("y-m-d_H-i-s") . ".zip";
// Calculate destination
if( !is_null( $path ) ){
// Path given