BUG-12021 Plugins Audit Log

Plugins Audit Log
This commit is contained in:
norahmollo
2014-10-10 17:08:15 -04:00
parent a2681f82ed
commit 3e5e48b6db
3 changed files with 5 additions and 1 deletions

View File

@@ -239,6 +239,8 @@ try {
$size = file_put_contents( PATH_DATA_SITE . "plugin.singleton", $oPluginRegistry->serializeInstance() );
$response = $oPluginRegistry->verifyTranslation( $details->sNamespace);
G::auditLog("InstallPlugin", "Plugin Name: ".$details->sNamespace );
//if ($response->recordsCountSuccess <= 0) {
//throw (new Exception( 'The plugin ' . $details->sNamespace . ' couldn\'t verify any translation item. Verified Records:' . $response->recordsCountSuccess));
//}