Don't show stats on homepage
This commit is contained in:
parent
a9b87f7943
commit
71f57fec08
|
@ -37,7 +37,8 @@
|
||||||
$description = 'Welcome to Siberia.';
|
$description = 'Welcome to Siberia.';
|
||||||
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
|
$query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
|
||||||
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
$news = $query->fetchAll(PDO::FETCH_ASSOC);
|
||||||
$stats = Categories::getPostStatistics($settings);
|
//$stats = Categories::getPostStatistics($settings);
|
||||||
|
$stats = null;
|
||||||
return Element(
|
return Element(
|
||||||
'themes/categories/frames.html',
|
'themes/categories/frames.html',
|
||||||
Array(
|
Array(
|
||||||
|
|
Loading…
Reference in New Issue