diff --git a/api/app/Http/Controllers/NewsController.php b/api/app/Http/Controllers/NewsController.php index f5e423f..ed1c9b8 100644 --- a/api/app/Http/Controllers/NewsController.php +++ b/api/app/Http/Controllers/NewsController.php @@ -10,7 +10,7 @@ class NewsController extends Controller private static $CALENDAR_CATEGORY = 42; private static $BASE_SQL = <<published); parent::ConvertToDateTime($this->edited); - if($this->edited && ($this->edited->getTimestamp() - $this->published->getTimestamp() < 1800 /* == 30 minutes */)) { - // If last edit was within grace period, consider it unedited (note: currently RES always saves edited == published on creation) - $this->edited = null; - } + //if($this->edited && ($this->edited->getTimestamp() - $this->published->getTimestamp() < 1800 /* == 30 minutes */)) { + // // If last edit was within grace period, consider it unedited (note: currently RES always saves edited == published on creation) + // $this->edited = null; + //} $this->source = null; if(isset($data->source))