1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Slight modification to the *_setup.php spec.

This commit is contained in:
CaMer0n
2009-10-21 12:53:00 +00:00
parent 8f89377fbb
commit f6b378ebd4
6 changed files with 36 additions and 60 deletions

View File

@@ -9,36 +9,36 @@
* Custom download install/uninstall/update routines
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/download/download_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 download_setup
{
function download_install_pre(&$var)
function install_pre($var)
{
// print_a($var);
$mes = eMessage::getInstance();
// $mes->add("custom install 'pre' function.", E_MESSAGE_SUCCESS);
}
function download_install_post(&$var)
function install_post($var)
{
$sql = e107::getDb();
$mes = eMessage::getInstance();
// $mes->add("custom install 'post' function.", E_MESSAGE_SUCCESS);
}
function download_uninstall_pre(&$var)
function uninstall_pre($var)
{
$sql = e107::getDb();
$mes = eMessage::getInstance();
// $mes->add("custom uninstall 'pre' function.", E_MESSAGE_SUCCESS);
}
function download_upgrade_post(&$var)
function upgrade_post($var)
{
$sql = e107::getDb();
$mes = eMessage::getInstance();