Rename project to luxtools, remove client tool
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
Some checks failed
DokuWiki Default Tasks / all (push) Has been cancelled
This commit is contained in:
23
syntax.php
23
syntax.php
@@ -3,18 +3,29 @@
|
||||
require_once(__DIR__ . '/syntax/files.php');
|
||||
|
||||
/**
|
||||
* File Tools plugin compatibility shim.
|
||||
*
|
||||
* Keep this class so existing code that does `plugin_load('syntax', 'filetools')`
|
||||
* continues to work (config/lang access).
|
||||
* LuxTools plugin bootstrap.
|
||||
*
|
||||
* The actual {{files>...}} syntax implementation lives in syntax/files.php.
|
||||
*/
|
||||
class syntax_plugin_filetools extends syntax_plugin_filetools_files
|
||||
class syntax_plugin_luxtools extends syntax_plugin_luxtools_files
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public function connectTo($mode)
|
||||
{
|
||||
// Intentionally empty: syntax is registered by syntax_plugin_filetools_files.
|
||||
// Intentionally empty: syntax is registered by syntax_plugin_luxtools_files.
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Compatibility alias for older codebases that referenced the legacy class name.
|
||||
*
|
||||
* Note: plugin id/base is now `luxtools`.
|
||||
*/
|
||||
class syntax_plugin_filetools extends syntax_plugin_luxtools_files
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public function connectTo($mode)
|
||||
{
|
||||
// Intentionally empty: syntax is registered by syntax_plugin_luxtools_files.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user