@@ -140,7 +140,7 @@ public function getAppValue(string $key): string {
140140 $ defaultValue = $ this ->defaults [$ key ];
141141 }
142142
143- return $ this ->config ->getAppValue (Application::APP_NAME , $ key , $ defaultValue );
143+ return $ this ->config ->getAppValue (Application::APP_ID , $ key , $ defaultValue );
144144 }
145145
146146 /**
@@ -150,7 +150,7 @@ public function getAppValue(string $key): string {
150150 * @param string $value
151151 */
152152 public function setAppValue (string $ key , string $ value ) {
153- $ this ->config ->setAppValue (Application::APP_NAME , $ key , $ value );
153+ $ this ->config ->setAppValue (Application::APP_ID , $ key , $ value );
154154 }
155155
156156 /**
@@ -159,7 +159,7 @@ public function setAppValue(string $key, string $value) {
159159 * @param string $key
160160 */
161161 public function deleteAppValue (string $ key ) {
162- $ this ->config ->deleteAppValue (Application::APP_NAME , $ key );
162+ $ this ->config ->deleteAppValue (Application::APP_ID , $ key );
163163 }
164164
165165 /**
@@ -176,7 +176,7 @@ public function getUserValue(string $key): string {
176176 }
177177
178178 return $ this ->config ->getUserValue (
179- $ this ->userId , Application::APP_NAME , $ key , $ defaultValue
179+ $ this ->userId , Application::APP_ID , $ key , $ defaultValue
180180 );
181181 }
182182
@@ -189,7 +189,7 @@ public function getUserValue(string $key): string {
189189 * @throws PreConditionNotMetException
190190 */
191191 public function setUserValue (string $ key , string $ value ) {
192- $ this ->config ->setUserValue ($ this ->userId , Application::APP_NAME , $ key , $ value );
192+ $ this ->config ->setUserValue ($ this ->userId , Application::APP_ID , $ key , $ value );
193193 }
194194
195195 /**
@@ -201,7 +201,7 @@ public function setUserValue(string $key, string $value) {
201201 * @return string
202202 */
203203 public function getValueForUser (string $ userId , string $ key ) {
204- return $ this ->config ->getUserValue ($ userId , Application::APP_NAME , $ key );
204+ return $ this ->config ->getUserValue ($ userId , Application::APP_ID , $ key );
205205 }
206206
207207 /**
@@ -214,7 +214,7 @@ public function getValueForUser(string $userId, string $key) {
214214 * @throws PreConditionNotMetException
215215 */
216216 public function setValueForUser (string $ userId , string $ key , string $ value ) {
217- $ this ->config ->setUserValue ($ userId , Application::APP_NAME , $ key , $ value );
217+ $ this ->config ->setUserValue ($ userId , Application::APP_ID , $ key , $ value );
218218 }
219219
220220
0 commit comments