diff --git a/lib/Service/AppsService.php b/lib/Service/AppsService.php index 4f8c88ecb1d4ec15aa71d9dd680050d6aee69afe..e7c537d39e94579d7c19a27678181db473878f87 100644 --- a/lib/Service/AppsService.php +++ b/lib/Service/AppsService.php @@ -80,9 +80,9 @@ class AppsService { } public function getAppOrder() { - $order_raw = $this->config->getUserValue($this->userId, 'murena_launcher', 'order'); + $order_raw = $this->config->getUserValue($this->userId, 'core', 'apporder'); // If order raw empty try to get from 'apporder' app config - $order_raw = !$order_raw ? $this->config->getUserValue($this->userId, 'apporder', 'order') : $order_raw; + // $order_raw = !$order_raw ? $this->config->getUserValue($this->userId, 'core', 'apporder') : $order_raw; // If order raw is still empty, return empty array if (!$order_raw) { return self::DEFAULT_ORDER; @@ -149,7 +149,7 @@ class AppsService { } public function updateOrder(string $order) { - $this->config->setUserValue($this->userId, $this->appName, 'order', $order); + $this->config->setUserValue($this->userId, 'core', 'apporder', $order); } private function isBetaUser() {