lockTime) { $this->lockTime--; if (!$this->lockTime) { $this->releaseLock($smarty, $cached); } } return parent::hasLock($smarty, $cached); } }