mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Fix parse error
This commit is contained in:
@@ -1,4 +1,19 @@
|
|||||||
<?php
|
<?php
|
||||||
|
/*
|
||||||
|
* e107 website system
|
||||||
|
*
|
||||||
|
* Copyright ( c ) 2001-2008 e107 Inc (e107.org)
|
||||||
|
* Released under the terms and conditions of the
|
||||||
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
|
*
|
||||||
|
* Custom forum install/uninstall/update routines
|
||||||
|
*
|
||||||
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_management.php,v $
|
||||||
|
* $Revision: 1.2 $
|
||||||
|
* $Date: 2008-11-25 19:58:32 $
|
||||||
|
* $Author: mcfly_e107 $
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
class forum_management
|
class forum_management
|
||||||
{
|
{
|
||||||
@@ -26,9 +41,8 @@ class forum_management
|
|||||||
global $sql;
|
global $sql;
|
||||||
if(version_compare($var['current_plug']['plugin_version'], "1.2", "<"))
|
if(version_compare($var['current_plug']['plugin_version'], "1.2", "<"))
|
||||||
{
|
{
|
||||||
$qry = "ALTER TABLE #forum ADD forum_postclass TINYINT( 3 ) UNSIGNED DEFAULT '0' NOT NULL ;"
|
$qry = "ALTER TABLE #forum ADD forum_postclass TINYINT( 3 ) UNSIGNED DEFAULT '0' NOT NULL ;";
|
||||||
$sql->db_Select_gen($qry);
|
$sql->db_Select_gen($qry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user