Skip to content

Commit

Permalink
Symphony 2.6 Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshoerrmann committed Jun 4, 2015
1 parent 5ebc7c1 commit 5ad56b1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension.meta.xml
Expand Up @@ -13,6 +13,9 @@
</author>
</authors>
<releases>
<release version="1.3.0" date="2015-06-04" min="2.4">
- Symphony 2.6 compatibility
</release>
<release version="1.2.2" date="2014-06-25" min="2.4">
- Clean-up
- Set monospace font
Expand Down
13 changes: 13 additions & 0 deletions fields/field.xml.php
Expand Up @@ -91,6 +91,19 @@ public function createTable()
);
}

public function commit()
{
$id = $this->get('id');
if ($id === false) {
return false;
}

$fields = array();
$fields['size'] = $this->get('size');

return FieldManager::saveSettings($id, $fields);
}

public function fetchIncludableElements()
{
return array(
Expand Down

0 comments on commit 5ad56b1

Please sign in to comment.