Allow plugins to always be registered to mantain them with last version always

This commit is contained in:
Hugo Loza
2011-01-12 13:58:51 +00:00
parent 7d9caa5ddd
commit 15ead25a30

View File

@@ -148,8 +148,8 @@ class PMPluginRegistry {
function registerPlugin( $sNamespace, $sFilename = null)
{
$sClassName = $sNamespace . 'plugin';
if ( isset( $this->_aPluginDetails[$sNamespace] ) )
return;
//if ( isset( $this->_aPluginDetails[$sNamespace] ) )
// return;
//require_once ( $sFilename );
$plugin = new $sClassName ($sNamespace, $sFilename);
$detail = new pluginDetail (