Skip to content

Commit 54ecd82

Browse files
committed
Merge pull request #2 from vishal22/master
API xml file changes
2 parents 0d501fd + 5482b76 commit 54ecd82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

users/users.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
jimport('joomla.plugin.plugin');
1212

13-
class plgAPIPlg_api_users extends ApiPlugin
13+
class plgAPIUsers extends ApiPlugin
1414
{
1515
public function __construct(&$subject, $config = array())
1616
{
1717
parent::__construct($subject, $config = array());
1818

19-
ApiResource::addIncludePath(dirname(__FILE__).'/plg_api_users');
19+
ApiResource::addIncludePath(dirname(__FILE__).'/users');
2020

2121
// Set the login resource to be public
2222
$this->setResourceAccess('login', 'public');

users/users.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<description>This plugin exposes users to the Joomla! API. Supports creation, listing and login for users.</description>
1212

1313
<files>
14-
<filename plugin="plg_api_users">plg_api_users.php</filename>
15-
<folder>plg_api_users</folder>
14+
<filename plugin="users">users.php</filename>
15+
<folder>users</folder>
1616
</files>
1717
</extension>

0 commit comments

Comments
 (0)