Explorar o código

hide dbg in TableAcl

Piotr Labudda %!s(int64=8) %!d(string=hai) anos
pai
achega
beef826050
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SE/se-lib/TableAcl.php

+ 1 - 1
SE/se-lib/TableAcl.php

@@ -1022,7 +1022,7 @@ class TableAcl extends Core_AclBase {
 
 		$type = (false !== strpos($tableConfig['name'], '/')) ? 'AntAcl' : 'TableAcl'; // TODO: fix naive check this // $type = DB::getPDO()->fetchValue(" select o._type from `CRM_#CACHE_ACL_OBJECT` o where o.idZasob = '{$idTable}' limit 1 ");
 		if ('AntAcl' === $type) {
-			DBG::log("AntAcl save config in TableAcl::buildInstance [{$idTable}] '{$tableConfig['name']}'");
+			// DBG::log("AntAcl save config in TableAcl::buildInstance [{$idTable}] '{$tableConfig['name']}'");
 			$_SESSION['AntAcl_cache'][$idTable] = true;
 		} else { // TableAcl
 			$obj = new TableAcl($idTable);