Skip to content

Commit

Permalink
Merge pull request #1324 from creative-commoners/pulls/2/remove-legac…
Browse files Browse the repository at this point in the history
…y-upgrader

MNT Remove legacy upgrader config
  • Loading branch information
Maxime Rainville authored Jan 22, 2023
2 parents cfd8c23 + bead969 commit ac3415c
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 31 deletions.
7 changes: 0 additions & 7 deletions .upgrade.yml

This file was deleted.

1 change: 0 additions & 1 deletion code/Controller/AssetAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
/**
* AssetAdmin is the 'file store' section of the CMS.
* It provides an interface for manipulating the File and Folder objects in the system.
* @skipUpgrade
*/
class AssetAdmin extends LeftAndMain implements PermissionProvider
{
Expand Down
1 change: 0 additions & 1 deletion code/Controller/AssetAdminFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
/**
* Update File dataobjects to be editable in this asset admin
*
* @skipUpgrade
* @property File $owner
*/
class AssetAdminFile extends DataExtension
Expand Down
1 change: 0 additions & 1 deletion code/Extensions/RemoteFileModalExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

/**
* Decorates ModalController with an insert-oembed modal
* @skipUpgrade
* @see ModalController
*/
class RemoteFileModalExtension extends Extension
Expand Down
3 changes: 0 additions & 3 deletions code/Forms/AssetFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
use SilverStripe\Forms\TreeDropdownField;
use SilverStripe\Forms\TreeMultiselectField;

/**
* @skipUpgrade
*/
abstract class AssetFormFactory implements FormFactory
{
use Extensible;
Expand Down
1 change: 0 additions & 1 deletion code/Forms/FileSearchFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ protected function getFormFields(RequestHandler $controller = null, $name, $cont
{
// Note: "Name" field is excluded as it is baked directly into the Search.js react component

/** @skipUpgrade */
// File type field
$appCategories = array(
'ARCHIVE' => _t(
Expand Down
1 change: 0 additions & 1 deletion code/Forms/UploadField.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
* Additionally supports writing directly to the File table not attached
* to any parent record.
*
* @skipUpgrade
*/
class UploadField extends FormField implements FileHandleField
{
Expand Down
4 changes: 0 additions & 4 deletions tests/php/Controller/AssetAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

/**
* Tests {@see AssetAdmin}
* @skipUpgrade
*/
class AssetAdminTest extends FunctionalTest
{
Expand Down Expand Up @@ -104,7 +103,6 @@ public function testItCreatesFile()
{
$folder1 = $this->objFromFixture(Folder::class, 'folder1');

/** @skipUpgrade */
$fileData = array('Upload' => $this->getUploadFile('Upload', 'testItCreatesFile.txt'));
$_FILES = $fileData;
$postedData = array_merge(
Expand Down Expand Up @@ -169,7 +167,6 @@ public function testItRestrictsCreateFileOnCanAddChildren()
{
$folder = $this->objFromFixture(Folder::class, 'disallowCanAddChildren');

/** @skipUpgrade */
$fileData = array('Upload' => $this->getUploadFile('Upload', 'test.txt'));
$_FILES = $fileData;
$response = Director::test(
Expand All @@ -195,7 +192,6 @@ public function testItRestrictsCreateFileOnExtension()
'folder1'
);

/** @skipUpgrade */
$fileData = array('Upload' => $this->getUploadFile('Upload', 'disallowed.php'));
$_FILES = $fileData;
$response = Director::test(
Expand Down
3 changes: 0 additions & 3 deletions tests/php/Controller/AssetAdminTest/FileExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataExtension;

/**
* @skipUpgrade
*/
class FileExtension extends DataExtension implements TestOnly
{
public function canView($member = null)
Expand Down
3 changes: 0 additions & 3 deletions tests/php/Forms/ImageFormFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
use SilverStripe\Forms\FormFactory;
use SilverStripe\ORM\ArrayList;

/**
* @skipUpgrade
*/
class ImageFormFactoryTest extends SapphireTest
{
/** @var Image */
Expand Down
3 changes: 0 additions & 3 deletions tests/php/Forms/UploadFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
use SilverStripe\Forms\Form;
use SilverStripe\ORM\ArrayList;

/**
* @skipUpgrade
*/
class UploadFieldTest extends SapphireTest
{
protected static $fixture_file = 'FileFormBuilderTest.yml';
Expand Down
3 changes: 0 additions & 3 deletions tests/php/Forms/UsedOnTableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
use SilverStripe\Dev\SapphireTest;
use SilverStripe\Versioned\Versioned;

/**
* @skipUpgrade
*/
class UsedOnTableTest extends SapphireTest
{
protected static $fixture_file = 'UsedOnTableTest.yml';
Expand Down

0 comments on commit ac3415c

Please sign in to comment.