From c33bb561c6ddc210a0d646ccfa43b6a2418ae4ca Mon Sep 17 00:00:00 2001 From: ralph Date: Mon, 15 Apr 2013 11:24:13 -0400 Subject: [PATCH] Removing throw from verify Translation process. --- workflow/engine/methods/setup/pluginsImportFile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow/engine/methods/setup/pluginsImportFile.php b/workflow/engine/methods/setup/pluginsImportFile.php index b1f8a5c4c..6b1503d0a 100755 --- a/workflow/engine/methods/setup/pluginsImportFile.php +++ b/workflow/engine/methods/setup/pluginsImportFile.php @@ -160,9 +160,9 @@ try { $size = file_put_contents( PATH_DATA_SITE . "plugin.singleton", $oPluginRegistry->serializeInstance() ); $response = $oPluginRegistry->verifyTranslation( $details->sNamespace); - if ($response->recordsCountSuccess <= 0) { - throw (new Exception( 'The plugin ' . $details->sNamespace . ' couldn\'t verify any translation item. Verified Records:' . $response->recordsCountSuccess)); - } + //if ($response->recordsCountSuccess <= 0) { + //throw (new Exception( 'The plugin ' . $details->sNamespace . ' couldn\'t verify any translation item. Verified Records:' . $response->recordsCountSuccess)); + //} G::header( "Location: pluginsMain" ); die();