Fixes #1805. Subscribers no longer have subscribed_at dates

This commit is contained in:
James Brooks
2016-05-24 14:52:13 +01:00
parent f6bfb10500
commit ccc0ebb7d5
2 changed files with 2 additions and 12 deletions

View File

@@ -28,17 +28,7 @@ class SubscriberPresenter extends BasePresenter implements Arrayable
*/
public function verified_at()
{
return app(DateFactory::class)->make($this->wrappedObject->verified_at)->toDateTimeString();
}
/**
* Present formatted subscribed date.
*
* @return string
*/
public function subscribed_at()
{
return ucfirst(app(DateFactory::class)->make($this->wrappedObject->subscribed_at)->format(Config::get('setting.incident_date_format', 'l jS F Y H:i:s')));
return ucfirst(app(DateFactory::class)->make($this->wrappedObject->verified_at)->format(Config::get('setting.incident_date_format', 'l jS F Y H:i:s')));
}
/**