]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Search.php
Check the readability before acessing /proc/loadavg
[friendica.git] / src / Core / Search.php
index 5ae1dd7ac4a9c0aecc1fcd6b590c161770722a71..cf3821afcf662ceee532e4c6bf4984c06c1fae8e 100644 (file)
@@ -192,7 +192,7 @@ class Search
                }
 
                // Add found profiles from the global directory to the local directory
-               Worker::add(PRIORITY_LOW, 'SearchDirectory', $search);
+               Worker::add(Worker::PRIORITY_LOW, 'SearchDirectory', $search);
 
                return $resultList;
        }