* [misc] Fix typo.
This commit is contained in:
@@ -401,13 +401,13 @@ class dbh
|
||||
}
|
||||
|
||||
/**
|
||||
* Check table exits or not.
|
||||
* Check table exist or not.
|
||||
*
|
||||
* @param string $tableName
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function tableExits($tableName)
|
||||
public function tableExist($tableName)
|
||||
{
|
||||
$tableName = str_replace(array("'", '`'), "", $tableName);
|
||||
|
||||
|
||||
@@ -290,7 +290,7 @@ class installZen extends install
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
elseif($this->install->dbh->tableExits(TABLE_CONFIG) && empty($data->clearDB))
|
||||
elseif($this->install->dbh->tableExist(TABLE_CONFIG) && empty($data->clearDB))
|
||||
{
|
||||
/* 如果已经存在config表,并且用户没有勾选清空旧数据库选项的话,则提示错误信息。 */
|
||||
$return->result = 'fail';
|
||||
|
||||
Reference in New Issue
Block a user