issue 554

called by counter addon method change to other method.
because old method enable connect with url type


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9696 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-20 07:47:52 +00:00
parent 3794f7c718
commit c3a0dce5f7
2 changed files with 8 additions and 1 deletions

View file

@ -9,6 +9,6 @@
// Execute if called_position is before_display_content
if(Context::isInstalled() && $called_position == 'before_module_init' && Context::get('module')!='admin' && Context::getResponseMethod() == 'HTML') {
$oCounterController = &getController('counter');
$oCounterController->procCounterExecute();
$oCounterController->counterExecute();
}
?>

View file

@ -15,8 +15,15 @@
/**
* @brief Counter logs
* @deprecated, if want use below function, you can use 'counterExecute' function instead this function
**/
function procCounterExecute() {
}
/**
* @brief Counter logs
**/
function counterExecute() {
$oDB = &DB::getInstance();
$oDB->begin();