Removing throw from verify Translation process.
This commit is contained in:
@@ -160,9 +160,9 @@ try {
|
|||||||
$size = file_put_contents( PATH_DATA_SITE . "plugin.singleton", $oPluginRegistry->serializeInstance() );
|
$size = file_put_contents( PATH_DATA_SITE . "plugin.singleton", $oPluginRegistry->serializeInstance() );
|
||||||
|
|
||||||
$response = $oPluginRegistry->verifyTranslation( $details->sNamespace);
|
$response = $oPluginRegistry->verifyTranslation( $details->sNamespace);
|
||||||
if ($response->recordsCountSuccess <= 0) {
|
//if ($response->recordsCountSuccess <= 0) {
|
||||||
throw (new Exception( 'The plugin ' . $details->sNamespace . ' couldn\'t verify any translation item. Verified Records:' . $response->recordsCountSuccess));
|
//throw (new Exception( 'The plugin ' . $details->sNamespace . ' couldn\'t verify any translation item. Verified Records:' . $response->recordsCountSuccess));
|
||||||
}
|
//}
|
||||||
|
|
||||||
G::header( "Location: pluginsMain" );
|
G::header( "Location: pluginsMain" );
|
||||||
die();
|
die();
|
||||||
|
|||||||
Reference in New Issue
Block a user