mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 20:59:23 +02:00
29 lines
612 B
PHP
29 lines
612 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Dev;
|
|
|
|
use SilverStripe\Dev\Deprecation;
|
|
use SilverStripe\Control\Controller;
|
|
|
|
/**
|
|
* Simple controller that the installer uses to test that URL rewriting is working.
|
|
* @deprecated 4.4.7 Will be removed without equivalent functionality
|
|
*/
|
|
class InstallerTest extends Controller
|
|
{
|
|
|
|
private static $allowed_actions = [
|
|
'testrewrite'
|
|
];
|
|
|
|
public function __construct()
|
|
{
|
|
Deprecation::notice('4.4.7', 'Will be removed without equivalent functionality', Deprecation::SCOPE_CLASS);
|
|
}
|
|
|
|
public function testrewrite()
|
|
{
|
|
echo "OK";
|
|
}
|
|
}
|