public static function BlogArticle($cv_name, $city_id, $value)
 {
     Wikia::log(__METHOD__, $city_id, "{$cv_name} = {$value}");
     if ($cv_name == "wgEnableBlogArticles" && $value == true) {
         /**
          * add task to TaskManager
          */
         if (!class_exists('BlogTask')) {
             global $IP;
             extAddBatchTask("{$IP}/extensions/wikia/Blogs/BlogTask.php", "blog", "BlogTask");
         }
         $Task = new BlogTask();
         $Task->createTask(array("city_id" => $city_id), TASK_QUEUED);
     }
     return true;
 }
 /**
  * Exclude object from result
  *
  * @param     BlogTask $blogTask Object to remove from the list of results
  *
  * @return    BlogTaskQuery The current query, for fluid interface
  */
 public function prune($blogTask = null)
 {
     if ($blogTask) {
         $this->addUsingAlias(BlogTaskPeer::TASK_ID, $blogTask->getTaskId(), Criteria::NOT_EQUAL);
     }
     return $this;
 }