mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +02:00
Remove duplicated code
This commit is contained in:
parent
af85a8b711
commit
9ce7162a04
@ -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