coding standards

This commit is contained in:
Loïc Chapeaux
2002-10-04 08:30:07 +00:00
parent 5dbcad6527
commit abc5c3aa3a
5 changed files with 27 additions and 14 deletions

View File

@@ -110,7 +110,7 @@ if (!defined('PMA_BOOKMARK_LIB_INCLUDED')){
* @param array the properties of the bookmark to add * @param array the properties of the bookmark to add
* @param array the bookmark parameters for the current user * @param array the bookmark parameters for the current user
* *
* @return boolean if the INSERT succeeds * @return boolean whether the INSERT succeeds or not
* *
* @access public * @access public
*/ */
@@ -133,6 +133,8 @@ if (!defined('PMA_BOOKMARK_LIB_INCLUDED')){
PMA_mysqlDie($error); PMA_mysqlDie($error);
} }
} }
return TRUE;
} // end of the 'PMA_addBookmarks()' function } // end of the 'PMA_addBookmarks()' function

View File

@@ -1,6 +1,15 @@
<?php <?php
// <markus@noga.de> /* $Id$ */
// get foreign keys in preparation for a drop-down selector
/**
* Gets foreign keys in preparation for a drop-down selector
* Thanks to <markus@noga.de>
*/
if (!defined('PMA_GET_FOREIGN_LIB_INCLUDED')) {
define('PMA_GET_FOREIGN_LIB_INCLUDED', 1);
// lem9: we always show the foreign field in the drop-down; if a display // lem9: we always show the foreign field in the drop-down; if a display
// field is defined, we show it besides the foreign field // field is defined, we show it besides the foreign field
@@ -32,4 +41,6 @@
$disp = PMA_mysql_query($dispsql); $disp = PMA_mysql_query($dispsql);
} }
} // end if $foreigners } // end if $foreigners
} // $__PMA_GET_FOREIGN_LIB_INCLUDED__
?> ?>