first DRY

Signed-off-by: fpumir <fpumir@terredeweb.fr>
DRY on MC

Signed-off-by: fpumir <fpumir@terredeweb.fr>
DRY on MC

Signed-off-by: fpumir <fpumir@terredeweb.fr>
Merge branch 'master' of https://github.com/ecolehetic/wtfay-g2

Signed-off-by: fpumir <fpumir@terredeweb.fr>

Conflicts:
	app/Models/App_model.php
	app/Models/Model.php