Removed unused constant and config option

This commit is contained in:
UndefinedOffset 2017-11-01 09:35:04 -03:00
parent b38d7f6f04
commit 9ea5caa91c
2 changed files with 0 additions and 5 deletions

View File

@ -1,2 +1 @@
<?php
define('SORTABLE_GRIDFIELD_BASE', basename(dirname(__FILE__)));

View File

@ -128,10 +128,6 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
$forTemplate = new arrayData($data);
//Inject Requirements
$custom = Config::inst()->get(GridFieldSortableRows::class, 'Base');
$base = $custom ?: SORTABLE_GRIDFIELD_BASE;
Requirements::css('undefinedoffset/sortablegridfield:css/GridFieldSortableRows.css');
Requirements::javascript('undefinedoffset/sortablegridfield:javascript/GridFieldSortableRows.js');