mirror of
https://github.com/nextcloud/passman.git
synced 2025-02-27 00:43:02 +08:00
Fix travis errors in CronService
This commit is contained in:
parent
ea8ee93efd
commit
80289b1a71
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class CronService {
|
||||||
$query->bindParam(1, $id, \PDO::PARAM_INT);
|
$query->bindParam(1, $id, \PDO::PARAM_INT);
|
||||||
$result = $query->execute();
|
$result = $query->execute();
|
||||||
$this->logger->debug($credential->getLabel() .' is expired, checking notifications!', array('app' => 'passman'));
|
$this->logger->debug($credential->getLabel() .' is expired, checking notifications!', array('app' => 'passman'));
|
||||||
if($result->fetchRow()['rows'] == 0) {
|
if($result->fetchRow()['rows'] === 0) {
|
||||||
$this->logger->debug($credential->getLabel() .' is expired, adding notification!', array('app' => 'passman'));
|
$this->logger->debug($credential->getLabel() .' is expired, adding notification!', array('app' => 'passman'));
|
||||||
|
|
||||||
$this->activityService->add(
|
$this->activityService->add(
|
||||||
|
|
Loading…
Reference in a new issue