Пример #1
0
 public static function updateAdditionalComments($reportId, $oldText, $newText)
 {
     if (strcmp($oldText, $newText) === 0) {
         return false;
     }
     self::validateId($reportId);
     self::validateTextArea($newText, true);
     return ReportFetcher::updateSingleColumn($reportId, $newText, ReportFetcher::DB_COLUMN_ADDITIONAL_COMMENTS);
 }