diff options
Diffstat (limited to 'protected/models/Veranstaltung.php')
| -rw-r--r-- | protected/models/Veranstaltung.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/protected/models/Veranstaltung.php b/protected/models/Veranstaltung.php index a0f1f9d..0117033 100644 --- a/protected/models/Veranstaltung.php +++ b/protected/models/Veranstaltung.php @@ -126,7 +126,6 @@ class Veranstaltung extends CActiveRecord //$criteria->compare("endzeit"," <= ".$now,'AND'); $criteria->condition = '(startzeit between SUBDATE(NOW(),INTERVAL 1 HOUR) and ADDDATE(NOW(),INTERVAL 1 HOUR) OR startzeit < NOW() and endzeit > NOW() ) and endzeit > NOW() and published = 1'; $criteria->order = "startzeit ASC"; - Yii::trace(print_r($criteria,true)); return new CActiveDataProvider($this, array( 'criteria'=>$criteria, )); |
