remove fixme comment when not needed anymore
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user