mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Correct visibility
This commit is contained in:
parent
d88ed57a07
commit
71567fec58
@ -6,15 +6,11 @@ use SilverStripe\Control\Director;
|
|||||||
use SilverStripe\Dev\TestOnly;
|
use SilverStripe\Dev\TestOnly;
|
||||||
use SilverStripe\ORM\DataObject;
|
use SilverStripe\ORM\DataObject;
|
||||||
|
|
||||||
/**
|
|
||||||
* @package googlesitemaps
|
|
||||||
* @subpackage tests
|
|
||||||
*/
|
|
||||||
class Test_DataObject extends DataObject implements TestOnly
|
class Test_DataObject extends DataObject implements TestOnly
|
||||||
{
|
{
|
||||||
public static $db = array(
|
private static $db = [
|
||||||
'Priority' => 'Varchar(10)'
|
'Priority' => 'Varchar(10)'
|
||||||
);
|
];
|
||||||
|
|
||||||
public function canView($member = null)
|
public function canView($member = null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user