Skip to content

Commit

Permalink
Removed invalid calendar dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh4 committed Mar 31, 2020
1 parent 23ba51f commit c823f3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ env:
- HUMHUB_VERSION=v1.3.11

matrix:
allow_failures:
- env: HUMHUB_VERSION=develop
fast_finish: true


Expand Down
6 changes: 1 addition & 5 deletions models/Task.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@

namespace humhub\modules\tasks\models;

use humhub\modules\calendar\helpers\CalendarUtils;
use humhub\modules\content\components\ActiveQueryContent;
use humhub\modules\content\components\ContentContainerPermissionManager;
use humhub\modules\space\models\Space;
use humhub\modules\space\modules\manage\models\MembershipSearch;
use humhub\modules\tasks\helpers\TaskUrl;
use humhub\modules\tasks\permissions\CreateTask;
use humhub\modules\tasks\permissions\ProcessUnassignedTasks;
use humhub\modules\user\components\ActiveQueryUser;
use Yii;
use yii\db\ActiveQuery;
use yii\db\Expression;
Expand Down Expand Up @@ -228,7 +224,7 @@ public function getIcon()
*/
public function rules()
{
$dateFormat = 'php:' . CalendarUtils::DB_DATE_FORMAT;
$dateFormat = 'php:Y-m-d H:i:s';

return [
[['title'], 'required'],
Expand Down

0 comments on commit c823f3d

Please sign in to comment.