* Remove testcaseModel::checkConfigValue, and move it to testcaseZen::buildXmindConfig.
This commit is contained in:
@@ -2774,18 +2774,6 @@ class testcaseModel extends model
|
||||
return array('sceneMaps'=>$sceneMaps,'topScenes'=>$topScenes);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check config.
|
||||
*
|
||||
* @param string $str
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
function checkConfigValue($str)
|
||||
{
|
||||
return preg_match("/^[a-zA-Z]{1,10}$/",$str);
|
||||
}
|
||||
|
||||
/**
|
||||
* 存储 xmind 配置。
|
||||
* Save xmind config.
|
||||
|
||||
Reference in New Issue
Block a user