Stephen Paul Weber a9b1b60a97 Refactor on File::processNew
The code was so involved there was even a comment asking for a refactor.

Now, File_redirection::where always returns a nice File_redirection
object instead of an array or string or nothing.  The object is
either one which already existed or else a new, unsaved object.

Instead of duplicating "does it exist" checks everywhere, do it in
File_redirection::where.  You either get what exists or something to save.

An unsaved File_redirection may be paired with an unsaved File.
You will want to save the File first (using ->saveFile()) and put the
id in File_redirection#file_id before saving.
2015-11-02 05:15:08 +00:00
..
2015-02-27 12:44:15 +01:00
2011-03-29 23:00:29 +02:00
2015-02-27 12:44:15 +01:00
2011-04-01 19:47:24 +02:00
2015-02-27 12:44:15 +01:00
2015-02-27 12:44:15 +01:00
2012-11-11 21:36:42 -05:00
2011-04-01 19:47:24 +02:00
2012-03-21 16:33:23 -04:00
2015-02-13 16:26:41 +01:00
2011-04-01 19:47:24 +02:00
2010-06-03 16:09:47 -07:00
2009-11-19 12:00:25 -05:00
2015-07-09 22:26:03 +02:00
2015-02-14 17:32:35 +01:00
2015-10-14 01:30:29 +02:00
2011-04-03 14:24:55 +02:00
2010-10-19 12:23:49 -07:00
2011-02-17 22:36:14 -08:00
2011-08-25 17:59:27 -04:00
2011-09-30 14:23:30 -04:00
2010-02-20 13:23:08 -05:00
2015-02-27 12:44:15 +01:00
2010-10-31 00:58:35 +02:00
2015-11-02 05:15:08 +00:00