Example #1
0
 /**
  * @deprecated
  */
 public static function getForums($notUsed = null, $projectId)
 {
     trigger_error("CProject::getForums has been deprecated in v3.0 and will be removed by v4.0. Please use CProject->getForumList() instead.", E_USER_NOTICE);
     $project = new CProject();
     //TODO: We need to convert this from static to use ->overrideDatabase() for testing.
     $project->project_id = $projectId;
     return $project->getForumList();
 }