Skip to content

Commit 11e0edf

Browse files
committed
call db class
1 parent 9d5ebde commit 11e0edf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/SquidApp/Pusher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ public function onSubscribe(ConnectionInterface $conn, $topic) {
1212
}
1313

1414
public function onBlogEntry($entry) {
15+
16+
$db = new Database();
1517

1618
$entryData = json_decode($entry, true);
17-
18-
print_r($entryData);
1919

2020
if (!array_key_exists($entryData['squidmagic'] , $this->subscribedTopics)) {
2121
return;

0 commit comments

Comments
 (0)