mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 17:59:22 +02:00
Remove duplicated code
(cherry picked from commit 9ce7162a045b8544977d78bf3268694861f79380)
This commit is contained in:
parent
5fcd97129e
commit
fcddfb6adf
@ -194,9 +194,6 @@ else {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unset($query);
|
unset($query);
|
||||||
if($cache->enabled()) {
|
|
||||||
$cache->set('towns', serialize($towns), 600);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$towns = config('towns');
|
$towns = config('towns');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user