Back to Table class

Method _unlock

protected bool
_unlock
()
Method to unlock the database table for writing.
Returns
  • bool True on success.
Since
  • 1.7.0
Class: Table
Project: Joomla

Method _unlock - Source code

/**
 * Method to unlock the database table for writing.
 *
 * @return  boolean  True on success.
 *
 * @since   1.7.0
 */
protected function _unlock()
{
    if ($this->_locked) {
        $this->_db->unlockTables();
        $this->_locked = false;
    }
    return true;
}