function &add($oFolder, $sFilename, $oUser, $aOptions) { $GLOBALS['_IN_ADD'] = true; $ret = KTDocumentUtil::_in_add($oFolder, $sFilename, $oUser, $aOptions); unset($GLOBALS['_IN_ADD']); return $ret; }
function &add($oFolder, $sFilename, $oUser, $aOptions) { $GLOBALS['_IN_ADD'] = true; $ret = KTDocumentUtil::_in_add($oFolder, $sFilename, $oUser, $aOptions); unset($GLOBALS['_IN_ADD']); return $ret; }