Skip to content

Commit 8d5eccd

Browse files
committed
revert getName content
1 parent 4caa1bc commit 8d5eccd

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

administrator/language/en-GB/plg_mcp_joomla.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ PLG_MCP_JOOMLA="MCP - Joomla"
77
PLG_MCP_JOOMLA_XML_DESCRIPTION="Provides Joomla-specific MCP tools and resources for system administration including cache management and system information retrieval."
88

99
; Resource: System Information
10-
PLG_MCP_JOOMLA_SYSINFO_NAME="sysInfo"
1110
PLG_MCP_JOOMLA_SYSINFO_TITLE="Get System Information"
1211
PLG_MCP_JOOMLA_SYSINFO_DESC="Shows Joomla System Information"
1312
PLG_MCP_JOOMLA_SYSINFO_SERVER_TIME="Server Time: %s"
1413
PLG_MCP_JOOMLA_SYSINFO_PHP_VERSION="PHP Version: %s"
1514
PLG_MCP_JOOMLA_SYSINFO_JOOMLA_VERSION="Joomla Version: %s"
1615

1716
; Tool: Purge Cache
18-
PLG_MCP_JOOMLA_PURGECACHE_NAME="purgeCache"
1917
PLG_MCP_JOOMLA_PURGECACHE_TITLE="Purge Cache"
2018
PLG_MCP_JOOMLA_PURGECACHE_DESC="Clear all Joomla cache groups"
2119
PLG_MCP_JOOMLA_PURGECACHE_SUCCESS="Cache purged successfully"

plugins/mcp/joomla/src/Resource/SysInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SysInfo implements ResourceInterface
1414

1515
public function getName(): string
1616
{
17-
return Text::_('PLG_MCP_JOOMLA_SYSINFO_NAME');
17+
return "sysInfo";
1818
}
1919

2020
public function getUri(): string

plugins/mcp/joomla/src/Tool/PurgeCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class PurgeCache implements ToolInterface
1313

1414
public function getName(): string
1515
{
16-
return Text::_('PLG_MCP_JOOMLA_PURGECACHE_NAME');
16+
return "purgeCache";
1717
}
1818

1919
public function getSchema(): array

0 commit comments

Comments
 (0)