]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
File_thumbnail lacked getUrl function
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 18 Apr 2014 21:06:28 +0000 (23:06 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 18 Apr 2014 21:06:28 +0000 (23:06 +0200)
commit7025817cc14cae1f566b48b97e8f6f511224f8ed
tree7c84ec8c1bb0c71924b79d078bfebef70ad7b5fa
parent28dc361a151dd7756ba8fd8d6dfd3a8ffe4e0760
File_thumbnail lacked getUrl function

The only reason it worked was because DB fetches calls to get$varname if
the dataobject has a variable with the specific name. However, it started
blurting out errors that the case must be correct (which would require
'geturl' to be the function name).

Since we probably want to replace DB sometime, we'll just override this
auto-fetching mechanism and use more explicitly defined functions.
classes/File_thumbnail.php