Log message #4017594

# At Username Text
# Apr 19th 2017, 12:16 inoas https://gist.github.com/inoas/759a443fc6520b34e8507ae74125909f
# Apr 19th 2017, 12:15 Junior inoas what table?
# Apr 19th 2017, 12:15 inoas Junior sure that that table exists
# Apr 19th 2017, 12:14 hmic make it private or delete the gist later on, just not to get bitten when selling the company for a fortune in the years to come :D
# Apr 19th 2017, 12:14 inoas https://www.instagram.com/p/BF3uXymCXTE/ LOL
# Apr 19th 2017, 12:14 inoas Select all images with a gas station.
# Apr 19th 2017, 12:14 Junior so inside the $this->_currentUserInstance i have values but i do not know why but data is not saved, i have put the columsn to be saved "always"
# Apr 19th 2017, 12:14 inoas junior it only sucks because of the google captcha
# Apr 19th 2017, 12:13 inoas I was just lazy man!
# Apr 19th 2017, 12:13 hmic just my 5ct :d
# Apr 19th 2017, 12:13 inoas yeah
# Apr 19th 2017, 12:13 hmic so better remove ownership (and) licence before pasting
# Apr 19th 2017, 12:13 inoas i call BS :)
# Apr 19th 2017, 12:13 Junior inoas, old habit :)
# Apr 19th 2017, 12:13 inoas yeah do that, no legal appeal
# Apr 19th 2017, 12:13 hmic you are the owner still and responsible
# Apr 19th 2017, 12:12 inoas pastebin sucks
# Apr 19th 2017, 12:12 hmic i can state whatever i like to in my licence
# Apr 19th 2017, 12:12 hmic no, the full project that uses it!
# Apr 19th 2017, 12:12 inoas you want the full appcontroller ;)?
# Apr 19th 2017, 12:12 Junior https://pastebin.com/NSP1mPZs
# Apr 19th 2017, 12:12 Junior here it is
# Apr 19th 2017, 12:12 inoas lol
# Apr 19th 2017, 12:12 hmic if its in your code, you should! i can force you to give it to me now, by adding my licence.txt
# Apr 19th 2017, 12:12 inoas its closed source at the moment - not my choice
# Apr 19th 2017, 12:11 hmic better dont state anything, especially ownership
# Apr 19th 2017, 12:11 inoas who cares
# Apr 19th 2017, 12:11 inoas its a small snipplet on a gist
# Apr 19th 2017, 12:10 hmic inoas, its certainly ok to say: MIT, check licence.txt for details. but not mentioning anything sounds like a bad idea to me :p i could now make up a licence that forces everything that uses this code to adhere to it
# Apr 19th 2017, 12:09 inoas updated for you hmic ;p
# Apr 19th 2017, 12:08 inoas hmic: lol
# Apr 19th 2017, 12:08 hmic inoas, you did not provide a licence.txt
# Apr 19th 2017, 12:08 inoas hmic how would that be done with middleware then? I mean the passing down to the model
# Apr 19th 2017, 12:07 inoas maybe you need something like this $this->_userModel = 'FlexiSystem.Users'; // Muffin/Footprint .. .if you users live ina plugin
# Apr 19th 2017, 12:07 hmic all that crap goes away with middlewares, finally
# Apr 19th 2017, 12:07 Junior allow me 2 minutes to paste
# Apr 19th 2017, 12:07 Junior inoas, yes , i have that
# Apr 19th 2017, 12:06 inoas in my case
# Apr 19th 2017, 12:06 inoas and well $this->addBehavior('Muffin/Footprint.Footprint', ['events' => ['Model.beforeSave' => ['user_id' => 'always']]]);
# Apr 19th 2017, 12:06 hmic obinoob, if you have a baked controller, just use the view function but pass the Auth->user('id') instead of $id.
# Apr 19th 2017, 12:06 inoas https://gist.github.com/inoas/6152e91774ef3f303b6f4b567d726b19