Skip to content

Commit 1bcc192

Browse files
committed
Merge branch 'master' of https://github.com/webdevlabs/phreak
2 parents 2ea5d62 + 660bf1d commit 1bcc192

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Example PDO driver fetch queries:
163163

164164
The *Eloquent ORM* provides a beautiful, simple ActiveRecord implementation for working with your database. Each database table has a corresponding "Model" which is used to interact with that table. Models allow you to query for data in your tables, as well as insert new records into the table.
165165

166-
*Examples of phreak eloquent usage can be found at the '**modules/elog**' made for demonstration.*
166+
*Examples of phreak eloquent usage can be found at the '**modules/eloq**' made for demonstration.*
167167

168168
Full documentation can be found at [Eloquent's](https://laravel.com/docs/5.7/eloquent) page.
169169

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22

33
namespace App\Commands;
4+
45
use System\DB;
56

67
class clearPushSubscriptions
78
{
8-
9-
public function __construct ()
9+
public function __construct()
1010
{
11-
$results = DB::column("SELECT COUNT(*) from `push_subscriptions` WHERE `added` < (NOW() - INTERVAL 1 DAY)");
11+
$results = DB::column('SELECT COUNT(*) from `push_subscriptions` WHERE `added` < (NOW() - INTERVAL 1 DAY)');
1212
echo 'Deleted '.$results.' records from database';
1313
}
14-
1514
}

0 commit comments

Comments
 (0)