Change defined metaconsole to is_metaconsole function in api - #4771
This commit is contained in:
parent
0b14cb64b6
commit
7b862429af
|
@ -2137,7 +2137,7 @@ function events_create_event(
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_events = 'tevento';
|
$table_events = 'tevento';
|
||||||
if (defined('METACONSOLE')) {
|
if (is_metaconsole()) {
|
||||||
$table_events = 'tmetaconsole_event';
|
$table_events = 'tmetaconsole_event';
|
||||||
|
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
|
|
Loading…
Reference in New Issue