~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to web/maintenance.php

  • Committer: Dan Garner
  • Date: 2015-05-17 14:07:45 UTC
  • Revision ID: git-v1:3e4dfdc05ddf4a9a664a5ed07514202aaed65eb4
Fixed elements from merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
 
258
258
            // Get a list of all displays
259
259
            try {
260
 
                $dbh = PDOConnect::init();
 
260
                $dbh = \Xibo\Storage\PDOConnect::init();
261
261
                $sth = $dbh->prepare('SELECT displayId, display FROM `display` WHERE licensed = 1 ORDER BY lastAccessed');
262
262
                $sth->execute();
263
263
 
287
287
                }
288
288
            }
289
289
            catch (Exception $e) {
290
 
                Debug::LogEntry('error', $e->getMessage());
 
290
                Log::error($e);
291
291
            }
292
292
 
293
293
            flush();