Skip to content

Commit 56af7fc

Browse files
authored
adminator: remove dead/unused code (routerOS, mk_control) (#264)
1 parent 4c71060 commit 56af7fc

33 files changed

Lines changed: 1410 additions & 13620 deletions

adminator2/category.php

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -132,45 +132,9 @@
132132
{ echo "jméno: <b>".$data_user_nick["email"]."</b>, level: <b>".$data_user_nick["level"]."</b><br>"; }
133133
} // konec else
134134

135-
// ted najilejeme prihlaseny lidi ( vsecky ) do pop-up okna
136-
// $MSQ_USER2 = $conn_mysql->query("SELECT nick, level FROM autorizace");
137-
138-
// $MSQ_USER_COUNT=$MSQ_USER2->num_rows;
139-
140-
// if ( $MSQ_USER_COUNT < 1 ){ $obsah_pop_okna .= "Nikdo nepřihlášen. (divny)"; }
141-
// else
142-
// {
143-
144-
// while ($data_user2 = $MSQ_USER2->fetch_array())
145-
// {
146-
// $obsah_pop_okna .= "jméno: ".$data_user2["nick"].", level: ".$data_user2["level"].", ";
147-
// } //konec while
148-
149-
// } // konec if
150-
151135
echo "<div style=\"padding-bottom: 8px; padding-top: 15px; align: center; padding-left: ; \" >
152136
<a href=\"".$cesta."index.php?lo=true\" target=\"_top\" class=\"cat\" >Odhlásit se</a></div>";
153137

154-
// echo "<input type=\"button\" class=\"buttonalllogin\" name=\"OK2\" value=\"Zobrazit všechny přihlášené ";
155-
// echo "\" onclick=\"showWindow2()\" >";
156-
157-
// require("include/js.include.1.php");
158-
159-
// $windowtext2 = "Ostatní přihlášení uživatelé: ".'\n'.$obsah_pop_okna;
160-
// $windowtext2 = $obsah_pop_okna;
161-
162-
// // velikost okna
163-
// $windowdelka2 = 170;
164-
// $windowpadding2 = 40;
165-
166-
// // pozice okna
167-
// $windowtop2 = 150;
168-
// $windowleft2 = 350;
169-
170-
// include("include/window-main2.php");
171-
172-
// echo '<div id="windowPlaceholder2"></div>';
173-
174138
?>
175139

176140
</td>

adminator2/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"nyholm/psr7-server": "^1.0.2",
1818
"symfony/http-foundation": "^v6.4",
1919
"odan/session": "^6.1",
20-
"phpmailer/phpmailer": "^6.9.1",
21-
"evilfreelancer/routeros-api-php": "1.5.2"
20+
"phpmailer/phpmailer": "^6.9.1"
2221
},
2322
"require-dev": {
2423
"phpunit/phpunit": "^9.0",

0 commit comments

Comments
 (0)