Skip to content

Commit

Permalink
Merge pull request #53 from brianteeman/publish-date
Browse files Browse the repository at this point in the history
Publish date
  • Loading branch information
wilsonge committed Apr 4, 2016
2 parents b652ebb + 407333b commit 85ff2d5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions administrator/components/com_fields/tables/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,6 @@ public function check ()
$this->type = 'text';
}

// Check the publish down date is not earlier than publish up.
if ($this->publish_down > $this->_db->getNullDate() && $this->publish_down < $this->publish_up)
{
$this->setError(JText::_('JGLOBAL_START_PUBLISH_AFTER_FINISH'));

return false;
}

if (is_array($this->assigned_cat_ids))
{
$this->assigned_cat_ids = implode(',', $this->assigned_cat_ids);
Expand Down

0 comments on commit 85ff2d5

Please sign in to comment.