Change defined metaconsole to is_metaconsole function in api - #4771

This commit is contained in:
Tatiana Llorente 2019-10-08 15:28:35 +02:00
parent 0b14cb64b6
commit 7b862429af
1 changed files with 1 additions and 1 deletions

View File

@ -2137,7 +2137,7 @@ function events_create_event(
}
$table_events = 'tevento';
if (defined('METACONSOLE')) {
if (is_metaconsole()) {
$table_events = 'tmetaconsole_event';
$sql = sprintf(