re-add readDb() missing from previous merge
This commit is contained in:
parent
38a0c256d2
commit
578a84bda0
1 changed files with 7 additions and 0 deletions
|
@ -208,6 +208,13 @@ private function checkDB()
|
||||||
*/
|
*/
|
||||||
private function readdb()
|
private function readdb()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Public links are hidden and user not logged in => nothing to show
|
||||||
|
if ($GLOBALS['config']['HIDE_PUBLIC_LINKS'] && !isLoggedIn()) {
|
||||||
|
$this->links = array();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Read data
|
// Read data
|
||||||
// Note that gzinflate is faster than gzuncompress.
|
// Note that gzinflate is faster than gzuncompress.
|
||||||
// See: http://www.php.net/manual/en/function.gzdeflate.php#96439
|
// See: http://www.php.net/manual/en/function.gzdeflate.php#96439
|
||||||
|
|
Loading…
Reference in a new issue