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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-06-04 19:55:58 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-06-04 19:55:58 +0400
commit0df919c0f60b49dfc1f804566b49d493a9708ea5 (patch)
treed0e15044f7ee4ae69f979049db56049f78b97d9a /libraries
parent09a8672e33a09e58d6a84f398976f6d05fae65ac (diff)
Fix indentation
Diffstat (limited to 'libraries')
-rw-r--r--libraries/import/upload/apc.php14
-rw-r--r--libraries/import/upload/noplugin.php12
-rw-r--r--libraries/import/upload/session.php28
-rw-r--r--libraries/import/upload/uploadprogress.php28
4 files changed, 41 insertions, 41 deletions
diff --git a/libraries/import/upload/apc.php b/libraries/import/upload/apc.php
index 6efdea8697..61440def9a 100644
--- a/libraries/import/upload/apc.php
+++ b/libraries/import/upload/apc.php
@@ -6,7 +6,7 @@
*/
if (! defined('PHPMYADMIN')) {
- exit;
+ exit;
}
$ID_KEY = 'APC_UPLOAD_PROGRESS';
@@ -30,12 +30,12 @@ function PMA_getUploadStatus($id)
}
if (! array_key_exists($id, $_SESSION[$SESSION_KEY])) {
$_SESSION[$SESSION_KEY][$id] = array(
- 'id' => $id,
- 'finished' => false,
- 'percent' => 0,
- 'total' => 0,
- 'complete' => 0,
- 'plugin' => $ID_KEY
+ 'id' => $id,
+ 'finished' => false,
+ 'percent' => 0,
+ 'total' => 0,
+ 'complete' => 0,
+ 'plugin' => $ID_KEY
);
}
$ret = $_SESSION[$SESSION_KEY][$id];
diff --git a/libraries/import/upload/noplugin.php b/libraries/import/upload/noplugin.php
index af62d0ee8e..d039cce89f 100644
--- a/libraries/import/upload/noplugin.php
+++ b/libraries/import/upload/noplugin.php
@@ -29,12 +29,12 @@ function PMA_getUploadStatus($id)
}
if (! array_key_exists($id, $_SESSION[$SESSION_KEY])) {
$_SESSION[$SESSION_KEY][$id] = array(
- 'id' => $id,
- 'finished' => false,
- 'percent' => 0,
- 'total' => 0,
- 'complete' => 0,
- 'plugin' => $ID_KEY
+ 'id' => $id,
+ 'finished' => false,
+ 'percent' => 0,
+ 'total' => 0,
+ 'complete' => 0,
+ 'plugin' => $ID_KEY
);
}
$ret = $_SESSION[$SESSION_KEY][$id];
diff --git a/libraries/import/upload/session.php b/libraries/import/upload/session.php
index 29d61a8368..d1199d8a72 100644
--- a/libraries/import/upload/session.php
+++ b/libraries/import/upload/session.php
@@ -30,12 +30,12 @@ function PMA_getUploadStatus($id)
if (! array_key_exists($id, $_SESSION[$SESSION_KEY])) {
$_SESSION[$SESSION_KEY][$id] = array(
- 'id' => $id,
- 'finished' => false,
- 'percent' => 0,
- 'total' => 0,
- 'complete' => 0,
- 'plugin' => $ID_KEY
+ 'id' => $id,
+ 'finished' => false,
+ 'percent' => 0,
+ 'total' => 0,
+ 'complete' => 0,
+ 'plugin' => $ID_KEY
);
}
$ret = $_SESSION[$SESSION_KEY][$id];
@@ -60,14 +60,14 @@ function PMA_getUploadStatus($id)
$ret['percent'] = $ret['complete'] / $ret['total'] * 100;
}
} else {
- $ret = array(
- 'id' => $id,
- 'finished' => true,
- 'percent' => 100,
- 'total' => $ret['total'],
- 'complete' => $ret['total'],
- 'plugin' => $ID_KEY
- );
+ $ret = array(
+ 'id' => $id,
+ 'finished' => true,
+ 'percent' => 100,
+ 'total' => $ret['total'],
+ 'complete' => $ret['total'],
+ 'plugin' => $ID_KEY
+ );
}
$_SESSION[$SESSION_KEY][$id] = $ret;
diff --git a/libraries/import/upload/uploadprogress.php b/libraries/import/upload/uploadprogress.php
index e5035475e3..43f2461d8e 100644
--- a/libraries/import/upload/uploadprogress.php
+++ b/libraries/import/upload/uploadprogress.php
@@ -30,12 +30,12 @@ function PMA_getUploadStatus($id)
if (! array_key_exists($id, $_SESSION[$SESSION_KEY])) {
$_SESSION[$SESSION_KEY][$id] = array(
- 'id' => $id,
- 'finished' => false,
- 'percent' => 0,
- 'total' => 0,
- 'complete' => 0,
- 'plugin' => $ID_KEY
+ 'id' => $id,
+ 'finished' => false,
+ 'percent' => 0,
+ 'total' => 0,
+ 'complete' => 0,
+ 'plugin' => $ID_KEY
);
}
$ret = $_SESSION[$SESSION_KEY][$id];
@@ -59,14 +59,14 @@ function PMA_getUploadStatus($id)
$ret['percent'] = $ret['complete'] / $ret['total'] * 100;
}
} else {
- $ret = array(
- 'id' => $id,
- 'finished' => true,
- 'percent' => 100,
- 'total' => $ret['total'],
- 'complete' => $ret['total'],
- 'plugin' => $ID_KEY
- );
+ $ret = array(
+ 'id' => $id,
+ 'finished' => true,
+ 'percent' => 100,
+ 'total' => $ret['total'],
+ 'complete' => $ret['total'],
+ 'plugin' => $ID_KEY
+ );
}
$_SESSION[$SESSION_KEY][$id] = $ret;