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-04-14 07:39:21 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-14 07:39:21 +0400
commit33321518591ade27e1651bf3e912d6bdecb7f342 (patch)
treeee0a53b563ed0f641dd90faccadf2bbda26ec2e0 /tbl_tracking.php
parente6626004155fbf2932c36e84bc3c251b2a76dce3 (diff)
Fix Checkstyle Warnings - Type: CloseBracketLine (Closing parenthesis of a multi-line function call must be on a line by itself)
Diffstat (limited to 'tbl_tracking.php')
-rw-r--r--tbl_tracking.php38
1 files changed, 22 insertions, 16 deletions
diff --git a/tbl_tracking.php b/tbl_tracking.php
index ae0f0388a8..47a9301554 100644
--- a/tbl_tracking.php
+++ b/tbl_tracking.php
@@ -171,11 +171,13 @@ if (isset($_REQUEST['submit_create_version'])) {
$tracking_set = rtrim($tracking_set, ',');
if (PMA_Tracker::createVersion($GLOBALS['db'], $GLOBALS['table'], $_REQUEST['version'], $tracking_set )) {
- $msg = PMA_Message::success(sprintf(
- __('Version %1$s was created, tracking for %2$s is active.'),
- htmlspecialchars($_REQUEST['version']),
- htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table'])
- ));
+ $msg = PMA_Message::success(
+ sprintf(
+ __('Version %1$s was created, tracking for %2$s is active.'),
+ htmlspecialchars($_REQUEST['version']),
+ htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table'])
+ )
+ );
$msg->display();
}
}
@@ -183,11 +185,13 @@ if (isset($_REQUEST['submit_create_version'])) {
// Deactivate tracking
if (isset($_REQUEST['submit_deactivate_now'])) {
if (PMA_Tracker::deactivateTracking($GLOBALS['db'], $GLOBALS['table'], $_REQUEST['version'])) {
- $msg = PMA_Message::success(sprintf(
- __('Tracking for %1$s was deactivated at version %2$s.'),
- htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table']),
- htmlspecialchars($_REQUEST['version'])
- ));
+ $msg = PMA_Message::success(
+ sprintf(
+ __('Tracking for %1$s was deactivated at version %2$s.'),
+ htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table']),
+ htmlspecialchars($_REQUEST['version'])
+ )
+ );
$msg->display();
}
}
@@ -195,11 +199,13 @@ if (isset($_REQUEST['submit_deactivate_now'])) {
// Activate tracking
if (isset($_REQUEST['submit_activate_now'])) {
if (PMA_Tracker::activateTracking($GLOBALS['db'], $GLOBALS['table'], $_REQUEST['version'])) {
- $msg = PMA_Message::success(sprintf(
- __('Tracking for %1$s was activated at version %2$s.'),
- htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table']),
- htmlspecialchars($_REQUEST['version'])
- ));
+ $msg = PMA_Message::success(
+ sprintf(
+ __('Tracking for %1$s was activated at version %2$s.'),
+ htmlspecialchars($GLOBALS['db'] . '.' . $GLOBALS['table']),
+ htmlspecialchars($_REQUEST['version'])
+ )
+ );
$msg->display();
}
}
@@ -207,7 +213,7 @@ if (isset($_REQUEST['submit_activate_now'])) {
// Export as SQL execution
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'execution') {
foreach ($entries as $entry) {
- $sql_result = PMA_DBI_query( "/*NOTRACK*/\n" . $entry['statement'] );
+ $sql_result = PMA_DBI_query("/*NOTRACK*/\n" . $entry['statement']);
}
$msg = PMA_Message::success(__('SQL statements executed.'));
$msg->display();