public function deleteModuleDb($module)
	{
		if($module != null) {
			$model = OmmuPlugins::model()->findByAttributes(array('folder'=>$module));
			
			if($model != null)
				$model->delete();

			else 
				return true;

		} else 
			return true;
	}
public function deleteModuleDb($module)
	{
		if($module != null) {
			$model = OmmuPlugins::model()->findByAttributes(array('folder'=>$module));
			
			if($model != null)
				$model->delete();

			else 
				return true;

		} else 
			return true;
	}
public function deleteModuleDb ( $ module ) { if ( $ module != null ) { $ model = OmmuPlugins :: model ( ) -> findByAttributes ( array ( 'folder' => $ module ) ) ; if ( $ model != null ) $ model -> delete ( ) ; else return true ; } else return true ; }
Delete Module from Plugin Database
Delete Module from Plugin Database