refactor: rename app from ncdiscordhook to nc_bot_webhooks
- Update namespace from OCA\NCdiscordhook to OCA\Ncbotwebhooks - Update app ID, name, and namespace in appinfo/info.xml - Update composer.json and autoload files - Update CLI command names from ncdiscordhook:* to nc_bot_webhooks:* - Update image directory name to nc_bot_webhooks-images - Update documentation in README.md and INSTALL.md - Update JavaScript APP_ID and navigation provider paths - Update admin settings and controller app references
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
// Generated autoload file for ncdiscordhook
|
||||
// Provides PSR-4 autoloading for OCA\NCdiscordhook\
|
||||
// Generated autoload file for nc_bot_webhooks
|
||||
// Provides PSR-4 autoloading for OCA\Ncbotwebhooks\
|
||||
|
||||
$baseDir = dirname(__DIR__);
|
||||
|
||||
spl_autoload_register(function ($class) use ($baseDir) {
|
||||
// OCA\NCdiscordhook\ prefix
|
||||
$prefix = 'OCA\\NCdiscordhook\\';
|
||||
// OCA\Ncbotwebhooks\ prefix
|
||||
$prefix = 'OCA\\Ncbotwebhooks\\';
|
||||
$prefixLen = strlen($prefix);
|
||||
if (strncmp($class, $prefix, $prefixLen) !== 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user