Skip to content

Commit

Permalink
improve coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Jan 21, 2013
1 parent ee3d2d1 commit 49cbba4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion libraries/Footer.class.php
Expand Up @@ -246,7 +246,8 @@ public function getDisplay()
$header = PMA_Response::getInstance()->getHeader();
$scripts = $header->getScripts()->getFiles();
$menuHash = $header->getMenu()->getHash();
$this->_scripts->addCode( // prime the client-side cache
// prime the client-side cache
$this->_scripts->addCode(
sprintf(
'AJAX.cache.primer = {'
. ' url: "%s",'
Expand Down
5 changes: 1 addition & 4 deletions libraries/pmd_common.php
Expand Up @@ -192,10 +192,7 @@ function get_script_tabs()

for ($i = 0, $cnt = count($GLOBALS['PMD']['TABLE_NAME']); $i < $cnt; $i++) {
$j = 0;
if (PMA_Util::isForeignKeySupported(
$GLOBALS['PMD']['TABLE_TYPE'][$i]
)
) {
if (PMA_Util::isForeignKeySupported($GLOBALS['PMD']['TABLE_TYPE'][$i])) {
$j = 1;
}
$retval['j_tabs'][$GLOBALS['PMD_URL']['TABLE_NAME'][$i]] = $j;
Expand Down

0 comments on commit 49cbba4

Please sign in to comment.