2015-02-08 08:03:55 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @deprecated since version 2.0
|
|
|
|
*/
|
2015-04-23 02:47:03 +02:00
|
|
|
class BlogTree extends Page implements MigratableObject {
|
2015-02-08 08:03:55 +01:00
|
|
|
|
|
|
|
private static $hide_ancestor = 'BlogTree';
|
|
|
|
|
|
|
|
private static $db = array(
|
|
|
|
'Name' => 'Varchar(255)',
|
|
|
|
'LandingPageFreshness' => 'Varchar',
|
|
|
|
);
|
|
|
|
|
|
|
|
public function canCreate($member = null) {
|
|
|
|
// Deprecated
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function up() {
|
|
|
|
if($this->ClassName === 'BlogTree') {
|
2015-04-23 02:47:03 +02:00
|
|
|
$this->ClassName = 'Page';
|
2015-02-08 08:03:55 +01:00
|
|
|
$this->write();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @deprecated since version 2.0
|
|
|
|
*/
|
2015-04-23 02:47:03 +02:00
|
|
|
class BlogTree_Controller extends Page_Controller {
|
2015-02-08 08:03:55 +01:00
|
|
|
}
|