Skip to content

Commit

Permalink
Added Craft 2.5 plugin configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcs committed Feb 2, 2016
1 parent 93618e1 commit 233fa89
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
22 changes: 17 additions & 5 deletions deleteallentryversions/DeleteAllEntryVersionsPlugin.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php
namespace Craft;

/**
* Delete All Entry Versions plugin
*/
class DeleteAllEntryVersionsPlugin extends BasePlugin
{
public function getName()
Expand All @@ -12,6 +9,11 @@ public function getName()
}

public function getVersion()
{
return '1.0.1';
}

public function getSchemaVersion()
{
return '1.0';
}
Expand All @@ -26,6 +28,16 @@ public function getDeveloperUrl()
return 'https://github.com/carlcs/craft-deleteallentryversions';
}

public function getDocumentationUrl()
{
return 'https://github.com/carlcs/craft-deleteallentryversions';
}

public function getReleaseFeedUrl()
{
return 'https://github.com/carlcs/craft-deleteallentryversions/raw/master/releases.json';
}

public function getSettingsUrl()
{
return 'settings/plugins/deleteallentryversions/index';
Expand All @@ -34,7 +46,7 @@ public function getSettingsUrl()
public function registerCpRoutes()
{
return array(
'settings/plugins/deleteallentryversions/index' => 'deleteallentryversions/_settings',
);
'settings/plugins/deleteallentryversions/index' => 'deleteallentryversions/_settings',
);
}
}
18 changes: 18 additions & 0 deletions releases.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"version": "1.0.1",
"downloadUrl": "https://github.com/carlcs/craft-deleteallentryversions/archive/v1.0.1.zip",
"date": "2016-02-02T15:00:00-01:00",
"notes": [
"[Added] Added Craft 2.5 plugin configurations.",
]
},
{
"version": "1.0",
"downloadUrl": "https://github.com/carlcs/craft-deleteallentryversions/archive/v1.0.zip",
"date": "2015-07-23T12:00:00-01:00",
"notes": [
"First release"
]
}
]

0 comments on commit 233fa89

Please sign in to comment.