From 7a38d522db7ce2c8bbb66f02555d2516d72a2cca Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Wed, 1 Jun 2016 05:54:35 +1000 Subject: [PATCH] Remove LESS instructions, we use internal commands now Timestamps don't need to be included in theme data --- README.md | 6 ------ modules/cms/models/ThemeData.php | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 828d2b472..3b454de19 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,6 @@ Please follow the following guides and code standards: The CMS uses [Laravel](http://laravel.com) as a foundation PHP framework. -### Using LESS - -The theme is based on the Twitter Bootstrap framework and uses the LESS language for generating the CSS. Please use a suitable LESS application for compiling the **assets/less/*.less** file to **assets/css/*.css**. The following application is recommended: - -* [Koala](http://koala-app.com/) - ### Contact You can communicate with us using the following mediums: diff --git a/modules/cms/models/ThemeData.php b/modules/cms/models/ThemeData.php index c03af4dc5..4e2e0ba0b 100644 --- a/modules/cms/models/ThemeData.php +++ b/modules/cms/models/ThemeData.php @@ -49,7 +49,7 @@ class ThemeData extends Model /* * Dynamic attributes are stored in the jsonable attribute 'data'. */ - $staticAttributes = ['id', 'theme', 'data']; + $staticAttributes = ['id', 'theme', 'data', 'created_at', 'updated_at']; $dynamicAttributes = array_except($this->getAttributes(), $staticAttributes); $this->data = $dynamicAttributes;