public function removeExpired() { $expires = $this->expires(); return $this->createModel()->newQuery()->where('completed', false)->where('created_at', '<', $expires)->delete(); }
/** * {@inheritDoc} * * @static */ public static function removeExpired() { return \Cartalyst\Sentinel\Activations\IlluminateActivationRepository::removeExpired(); }