silverstripe-framework/src/Dev/InstallerTest.php

29 lines
612 B
PHP
Raw Normal View History

<?php
namespace SilverStripe\Dev;
2022-10-13 03:49:15 +02:00
use SilverStripe\Dev\Deprecation;
use SilverStripe\Control\Controller;
/**
* Simple controller that the installer uses to test that URL rewriting is working.
2022-10-12 01:54:07 +02:00
* @deprecated 4.4.7 Will be removed without equivalent functionality
*/
2016-11-29 00:31:16 +01:00
class InstallerTest extends Controller
{
2014-08-15 08:53:05 +02:00
private static $allowed_actions = [
2016-11-29 00:31:16 +01:00
'testrewrite'
];
2022-10-13 03:49:15 +02:00
public function __construct()
{
Deprecation::notice('4.4.7', 'Will be removed without equivalent functionality', Deprecation::SCOPE_CLASS);
}
2016-11-29 00:31:16 +01:00
public function testrewrite()
{
echo "OK";
}
}