All pastes #2050966 Raw Edit

Unnamed

public text v1 · immutable
#2050966 ·published 2011-04-26 19:21 UTC
rendered paste body
		public function removeByIssueIDandFileID($issue_id, $file_id)
		{
			$crit = $this->getCriteria();
			$crit->addWhere(self::ISSUE_ID, $issue_id);
			$crit->addWhere(self::FILE_ID, $file_id);
			$crit->addWhere(self::SCOPE, TBGContext::getScope()->getID());
			if ($res = $this->doSelect($crit))
			{
				$this->doDelete($crit);
			}
			return $res;
		}