Skip to content

Commit

Permalink
Simplified logic
Browse files Browse the repository at this point in the history
  • Loading branch information
thekabal committed Apr 21, 2017
1 parent 87b8f09 commit 9b66b18
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions classes/Scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ class Scheduler
public static function isQueryOk(\PDO $pdo_db, $res): bool
{
$test_result = Db::logDbErrors($pdo_db, $res, __LINE__, __FILE__);
if ($test_result)
{
return true;
}
else
{
return false;
}
return (bool) $test_result;
}
}

0 comments on commit 9b66b18

Please sign in to comment.