remove fixme comment when not needed anymore

This commit is contained in:
Manuel Raynaud
2014-03-10 12:17:39 +01:00
parent 191a120aa5
commit e415b747ea
13 changed files with 6 additions and 51 deletions

View File

@@ -171,16 +171,6 @@ class AsseticAssetManager implements AssetManagerInterface
$fs = new Filesystem();
// FIXME: locking or not locking ?
/*
$lock_file = "$web_assets_directory_base/assets-".md5($source_assets_directory)."-generation-lock.txt";
if (! $fp = fopen($lock_file, "w")) {
throw new IOException(sprintf('Failed to open lock file %s', $lock_file));
}
if (flock($fp, LOCK_EX|LOCK_NB)) { // do an exclusive lock
*/
$tmp_dir = "$to_directory.tmp";
$fs->remove($tmp_dir);

View File

@@ -82,7 +82,7 @@ class Feed extends BaseLoop implements ArraySearchLoopInterface
->set("TITLE" , $item->get_title())
->set("AUTHOR" , $item->get_author())
->set("DESCRIPTION" , $item->get_description())
->set("DATE" , $item->get_date('U')) // FIXME - date format should be an intl parameter
->set("DATE" , $item->get_date('U'))
;
$loopResult->addRow($loopResultRow);

View File

@@ -188,7 +188,6 @@ class TheliaHttpKernel extends HttpKernel
// TODO : search if http status 302 is the good one.
$redirect = new RedirectResponse($lang->getUrl(), 302);
$redirect->send();
exit;
} else {
//the user is actually on the good domain, nothing to change
return null;