mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 00:54:49 +02:00
Slight modification to the *_setup.php spec.
This commit is contained in:
@@ -9,21 +9,21 @@
|
||||
* Custom forum install/uninstall/update routines
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_setup.php,v $
|
||||
* $Revision: 1.1 $
|
||||
* $Date: 2009-10-20 03:58:47 $
|
||||
* $Revision: 1.2 $
|
||||
* $Date: 2009-10-21 12:53:00 $
|
||||
* $Author: e107coders $
|
||||
*
|
||||
*/
|
||||
|
||||
class forum_setup
|
||||
{
|
||||
function forum_install_pre(&$var)
|
||||
function install_pre($var)
|
||||
{
|
||||
print_a($var);
|
||||
echo "custom install 'pre' function<br /><br />";
|
||||
}
|
||||
|
||||
function forum_install_post(&$var)
|
||||
function install_post($var)
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
$mes = eMessage::getInstance();
|
||||
@@ -34,7 +34,7 @@ class forum_setup
|
||||
}
|
||||
}
|
||||
|
||||
function forum_uninstall_post(&$var)
|
||||
function uninstall_post($var)
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
$mes = eMessage::getInstance();
|
||||
@@ -45,7 +45,7 @@ class forum_setup
|
||||
}
|
||||
}
|
||||
|
||||
function forum_upgrade_post(&$var)
|
||||
function upgrade_post($var)
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
$mes = eMessage::getInstance();
|
||||
|
Reference in New Issue
Block a user