projects
/
rock.divinelegy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85550c3
)
Bug fix
author
Cameron Ball
<c.ball1729@gmail.com>
Sat, 21 Feb 2015 08:09:30 +0000
(16:09 +0800)
committer
Cameron Ball
<c.ball1729@gmail.com>
Sat, 21 Feb 2015 08:09:30 +0000
(16:09 +0800)
Controllers/SimfileController.php
patch
|
blob
|
history
diff --git
a/Controllers/SimfileController.php
b/Controllers/SimfileController.php
index
5842bbf
..
f3689f7
100644
(file)
--- a/
Controllers/SimfileController.php
+++ b/
Controllers/SimfileController.php
@@
-196,7
+196,6
@@
class SimfileController implements IDivineController
$pack = $zipParser->pack();
\r
$packBanner = $pack->getBanner() ? $this->_fileRepository->save($pack->getBanner()) : null;
\r
$this->_packRepository->save($pack);
\r
- $this->_cacheUpdater->insert($pack);
\r
}
\r
\r
foreach($zipParser->simfiles() as $simfile)
\r
@@
-207,6
+206,8
@@
class SimfileController implements IDivineController
if(isset($pack)) $simfile->addToPack($pack);
\r
$this->_simfileRepository->save($simfile);
\r
}
\r
+
\r
+ if(isset($pack)) $this->_cacheUpdater->insert($pack);
\r
}
\r
\r
private function findAndAddSmoMirror(IFile $file)
\r