public function deleteThemeDb($theme)
	{
		if($theme != null) {
			$model = OmmuThemes::model()->findByAttributes(array('folder'=>$theme));
			
			if($model != null)
				$model->delete();
			else 
				return false;

		} else 
			return false;
	}
public function deleteThemeDb($theme)
	{
		if($theme != null) {
			$model = OmmuThemes::model()->findByAttributes(array('folder'=>$theme));
			
			if($model != null)
				$model->delete();
			else 
				return false;

		} else 
			return false;
	}
public function deleteThemeDb ( $ theme ) { if ( $ theme != null ) { $ model = OmmuThemes :: model ( ) -> findByAttributes ( array ( 'folder' => $ theme ) ) ; if ( $ model != null ) $ model -> delete ( ) ; else return false ; } else return false ; }
Delete DB folder
Delete DB folder