Fix tests

Signed-off-by: Bimal Yashodha <kb.yashodha@gmail.com>
This commit is contained in:
Bimal Yashodha 2014-06-16 12:34:25 +05:30
parent 48dd4f354d
commit 2180f08135

View File

@ -75,30 +75,24 @@ class PMA_User_Schema
$this->chosenPage = 0;
}
break;
// case 'createpage':
// $this->pageNumber = PMA_REL_createPage(
// $_POST['newpage'],
// $cfgRelation,
// $db
// );
// $this->autoLayoutForeign = isset($_POST['auto_layout_foreign'])
// ? "1"
// : null;
// $this->autoLayoutInternal = isset($_POST['auto_layout_internal'])
// ? "1"
// : null;
// $this->processRelations(
// $db,
// $this->pageNumber,
// $cfgRelation
// );
// break;
case 'createpage':
$this->pageNumber = PMA_REL_createPage(
$_POST['newpage'],
$cfgRelation,
$db
);
$this->autoLayoutForeign = isset($_POST['auto_layout_foreign'])
? "1"
: null;
$this->autoLayoutInternal = isset($_POST['auto_layout_internal'])
? "1"
: null;
// $this->processRelations(
// $db,
// $this->pageNumber,
// $cfgRelation
// );
// break;
$this->saveTablePositions(
$db,
$this->pageNumber,