Removing throw from verify Translation process.

This commit is contained in:
ralph
2013-04-15 11:24:13 -04:00
parent 24be37fc1a
commit c33bb561c6

View File

@@ -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();