Skip to content

Commit

Permalink
Merge pull request #47 from dmstr/feature/ensure-back-compatibility
Browse files Browse the repository at this point in the history
Restored CopyController to ensure back compatibility
  • Loading branch information
eluhr authored Mar 4, 2022
2 parents c4c3912 + 1222fd7 commit c6812e7
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions src/commands/CopyController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

namespace hrzg\widget\commands;

use yii\console\Controller;

/**
* --- PROPERTIES ---
*
* @author Elias Luhr
* @deprecated
*/
class CopyController extends Controller
{
/**
* @deprecated
* @return bool|int
*/
public function actionIndex()
{
return $this->stderr('copy function has been removed');
}

/**
* @deprecated
* @return bool|int
*/
public function actionLanguage()
{
return $this->stderr('copy function has been removed');
}
}

0 comments on commit c6812e7

Please sign in to comment.