Re #33 - remove bunch of dead code & fix some bugs

This commit is contained in:
Vojtěch Sajdl
2018-04-20 16:40:12 +02:00
parent 186fd48666
commit f121211a14
5 changed files with 31 additions and 22 deletions
-1
View File
@@ -18,7 +18,6 @@ class Constellation
* @param Boolean $admin - specifies whether to render admin controls
*/
public function render_incidents($future=false, $offset=0, $limit = 5, $admin = 0){
global $mysqli;
if ($offset<0)
{
$offset = 0;