Skip to content

Commit

Permalink
Cleanup Code
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Sep 28, 2023
1 parent 6bffef7 commit 453b87a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Controller/URLCleanerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

/**
* Plugin URLCleaner
*
* Class URLCleanerController
* @package Kanboard\Controller
* @author aljawaid
*/

Expand All @@ -31,7 +33,7 @@ public function show()
}

/**
* Save settings
* Save Settings
*
*/
public function save()
Expand Down
14 changes: 14 additions & 0 deletions Helper/CleanURLHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,22 @@

use Kanboard\Core\Base;

/**
* Plugin URLCleaner
* Class CleanURLHelper
*
* @package Plugin\URLCleaner\Helper
* @author aljawaid
*/
class CleanURLHelper extends Base
{
/**
* Get Before and After Routes
*
* @see url-cleaner.php
* @return string
* @author aljawaid
*/
public function newCoreRoutes()
{
return array(
Expand Down
3 changes: 1 addition & 2 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ public function onStartup()

public function getPluginName()
{
// Plugin Name MUST be identical to namespace for Plugin Directory to detect updated versions
// Do not translate the plugin name here
// Plugin Name MUST be identical to namespace for Plugin Directory to detect updated versions - do not translate the plugin name here
return 'URLCleaner';
}

Expand Down

0 comments on commit 453b87a

Please sign in to comment.