]> git.mxchange.org Git - friendica.git/commitdiff
Add missing Logger::log()
authorPhilipp Holzer <admin@philipp.info>
Wed, 31 Oct 2018 16:52:41 +0000 (17:52 +0100)
committerPhilipp Holzer <admin@philipp.info>
Wed, 31 Oct 2018 16:52:41 +0000 (17:52 +0100)
src/Core/Lock.php

index a5467c644203fd837c940ee3d84c4b940c2421eb..91c444253aa838a5fd3c8b4f5457bcf053bb0493 100644 (file)
@@ -48,7 +48,7 @@ class Lock
                                        self::useAutoDriver();
                        }
                } catch (\Exception $exception) {
-                       logger ('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\'');
+                       Logger::log('Driver \'' . $lock_driver . '\' failed - Fallback to \'useAutoDriver()\'');
                        self::useAutoDriver();
                }
        }
@@ -70,7 +70,7 @@ class Lock
                                self::$driver = new Lock\SemaphoreLockDriver();
                                return;
                        } catch (\Exception $exception) {
-                               logger ('Using Semaphore driver for locking failed: ' . $exception->getMessage());
+                               Logger::log('Using Semaphore driver for locking failed: ' . $exception->getMessage());
                        }
                }