Просмотр исходного кода

fixed home page in User reload perms

Piotr Labudda 8 лет назад
Родитель
Сommit
7f17f1cc0a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      SE/se-lib/User.php

+ 1 - 2
SE/se-lib/User.php

@@ -315,13 +315,12 @@ class User {
 							'title' => number_format($fixAllPermsExecTime, 4) . " s / " . number_format($fixUserPermsExecTime, 4) . " s"
 						], "Zaktualizowano uprawnienia"),
 					]);
-					UI::loadTemplate('defaultPage', $data);
+					Theme::home($data);
 					echo UI::h('script', [], "
 						(function (global) {
 							if (global.p5UI__MenuStore) global.p5UI__MenuStore.remoteUpdate()
 						})(window)
 					");
-					UI::loadTemplate('defaultPage', $data);
 					UI::dol();
 					exit;
 				}