1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Allow lots more userclasses. Fix table update part of update routine

This commit is contained in:
e107steved
2009-06-29 21:26:58 +00:00
parent 7c395b8c16
commit 595291f1d0
4 changed files with 25 additions and 18 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
| $Revision: 1.37 $
| $Date: 2009-05-24 15:34:36 $
| $Revision: 1.38 $
| $Date: 2009-06-29 21:26:58 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -607,7 +607,7 @@ function update_706_to_800($type='')
if ((($actual_defs = $db_parser->get_current_table($ct)) === FALSE) || !is_array($actual_defs)) // Adds current default prefix
{
// echo "Couldn't get table structure: {$ct}<br />";
echo "Couldn't get table structure: {$ct}<br />";
}
else
{
@@ -916,10 +916,10 @@ function addIndexToTable($target, $indexSpec, $just_check, &$updateMessages, $op
function catch_error(&$target)
{
if ($target->getLastErrorText() != '' && E107_DEBUG_LEVEL != 0)
if ($target->mySQLlastErrText() != '' && E107_DEBUG_LEVEL != 0)
{
$tmp2 = debug_backtrace();
$tmp = $target->getLastErrorText();
$tmp = $target->mySQLlastErrText();
echo $tmp." [ ".basename(__FILE__)." on line ".$tmp2[0]['line']."] <br />";
}
return;