BUG 8529 Change "exists" to "exist" in many phrases SOLVED
- Remember these grammar rules - Changed grammar rules as suggested.
This commit is contained in:
@@ -1042,7 +1042,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . 'app_cache_view_insert.sql';
|
||||
|
||||
if (!file_exists($filenameSql)) {
|
||||
throw (new Exception("file app_cache_view_insert.sql doesn't exists "));
|
||||
throw (new Exception("file app_cache_view_insert.sql does not exist "));
|
||||
}
|
||||
|
||||
$sql = explode(';', file_get_contents($filenameSql));
|
||||
@@ -1095,7 +1095,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . 'triggerAppDelegationInsert.sql';
|
||||
|
||||
if (!file_exists($filenameSql)) {
|
||||
throw (new Exception("file triggerAppDelegationInsert.sql doesn't exists "));
|
||||
throw (new Exception("file triggerAppDelegationInsert.sql does not exist "));
|
||||
}
|
||||
|
||||
$sql = file_get_contents($filenameSql);
|
||||
@@ -1142,7 +1142,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . '/triggerAppDelegationUpdate.sql';
|
||||
|
||||
if (!file_exists($filenameSql)) {
|
||||
throw (new Exception("file triggerAppDelegationUpdate.sql doesn't exists "));
|
||||
throw (new Exception("file triggerAppDelegationUpdate.sql does not exist "));
|
||||
}
|
||||
|
||||
$sql = file_get_contents($filenameSql);
|
||||
|
||||
@@ -42,7 +42,7 @@ class AppFolder extends BaseAppFolder {
|
||||
$oDataset->next ();
|
||||
if ($aRow = $oDataset->getRow ()) {//Folder exist, then return the ID
|
||||
$response['success']=false;
|
||||
$response['message']=$response['error']="Can't create folder <br /> A folder with same name already exists. <br /> $folderName";
|
||||
$response['message']=$response['error']="Can't create folder <br /> A folder with same name already exist. <br /> $folderName";
|
||||
$response['folderUID']=$aRow ['FOLDER_UID'];
|
||||
//return ($aRow ['FOLDER_UID']);
|
||||
return ($response);
|
||||
|
||||
@@ -95,7 +95,7 @@ class DashletInstance extends BaseDashletInstance {
|
||||
return $result;
|
||||
}
|
||||
else {
|
||||
throw new Exception('Error trying to delete: The row "' . $dasInsUid. '" not exists.');
|
||||
throw new Exception('Error trying to delete: The row "' . $dasInsUid. '" does not exist.');
|
||||
}
|
||||
}
|
||||
catch (Exception $error) {
|
||||
|
||||
@@ -110,7 +110,7 @@ class Gateway extends BaseGateway {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row does not exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -96,7 +96,7 @@ class TaskUser extends BaseTaskUser {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row does not exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
Reference in New Issue
Block a user