mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE removed importer_Controller as its accessible through an unsecure url which writes page records and exposes debug information about them. the class naming is too broad for its purpose, and the usefulness of this class is quite limited - it doesn't appear to be used anywhere.
API CHANGE removed "tools" directory - please use "vendor", "api" or "integration" git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52158 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c9aceb01e1
commit
0bf0c3c77f
@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package sapphire
|
||||
* @subpackage misc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Contains heaps of tools that you can use when importing database information
|
||||
* @package sapphire
|
||||
* @subpackage misc
|
||||
*/
|
||||
class importer_Controller extends Page_Controller {
|
||||
|
||||
// Generates the URLsegment for every page that doesn't have one.
|
||||
function FixURLS(){
|
||||
$pages= DataObject::get("Page");
|
||||
foreach($pages as $page){
|
||||
$page->write();
|
||||
Debug::show($page);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user