mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
parent
204822fd0e
commit
d24e45fb58
11 changed files with 61 additions and 31 deletions
|
@ -105,7 +105,7 @@ class sqlDAL
|
|||
// make sure it does not store autid transactions
|
||||
if(strpos($preparedStatement, 'CachesInDB')===false){
|
||||
$debug = debug_backtrace();
|
||||
if (empty($debug[2]['class']) || $debug[2]['class'] !== "AuditTable") {
|
||||
if (empty($debug[2]['class']) || $debug[2]['class'] !== "AuditTable" && class_exists('AVideoPlugin')) {
|
||||
$audit = AVideoPlugin::loadPluginIfEnabled('Audit');
|
||||
if (!empty($audit)) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue