]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Reworked File->getUrl to throw exception
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jul 2016 22:44:50 +0000 (00:44 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 6 Jul 2016 22:44:50 +0000 (00:44 +0200)
commitf02d32b718de732181d0f73beed2b7fdb77b1cbd
treede910e0ff9b02a5fcf3285ee2233009d4da8e078
parent4a3ed7d0aec07c8b94dded9edf8d3d859ffc6488
Reworked File->getUrl to throw exception

In case you require a local URL and one can't be generated, throw
FileNotStoredLocallyException(File $file)
classes/File.php
lib/filenotstoredlocallyexception.php [new file with mode: 0644]