Skip to content

Commit

Permalink
Merge pull request #25 from andrewandante/FIX/remove-object
Browse files Browse the repository at this point in the history
remove Object
  • Loading branch information
Damian Mooyman authored May 27, 2017
2 parents e501506 + d37cabb commit 33342d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions code/Tasks/GarbageCollectSessionCronTask.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php
namespace SilverStripe\DynamoDb\Tasks;

use SilverStripe\Core\Object;
use SilverStripe\Core\Config\Configurable;
use SilverStripe\Core\Injector\Injectable;
use SilverStripe\CronTask\Interfaces\CronTask;
use SilverStripe\DynamoDb\Model\DynamoDbSession;

Expand All @@ -22,8 +23,11 @@
* @see https://github.com/silverstripe-labs/silverstripe-crontask
* @see http://docs.aws.amazon.com/aws-sdk-php/guide/latest/feature-dynamodb-session-handler.html
*/
class GarbageCollectSessionCronTask extends Object implements CronTask
class GarbageCollectSessionCronTask implements CronTask
{
use Configurable;
use Injectable;

private static $schedule = '* * * * *';

public function getSchedule()
Expand Down

0 comments on commit 33342d7

Please sign in to comment.