Build 115 - Clean up instructions

Release Note

Build 115 has renamed all instances of "Email" to "Mail". This will leave some harmless artifacts behind.

Note this is entirely optional but if you want to keep your system clean and remove them, follow these instructions.

Delete files and folders:

  • modules\system\models\emaillayout\
  • modules\system\models\emailsettings\
  • modules\system\models\emailtemplate\
  • modules\system\models\EmailTemplate.php
  • modules\system\models\EmailLayout.php
  • modules\system\models\EmailSettings.php
  • modules\system\controllers\EmailLayouts.php
  • modules\system\controllers\EmailTemplates.php
  • modules\system\controllers\emailtemplates\
  • modules\system\controllers\emaillayouts\
  • modules\backend\views\emails\
  • plugins\rainlab\user\views\emails\

Rename method references:

  • registerEmailTemplates to registerMailTemplates

Rename model references:

  • EmailTemplate to MailTemplate
  • EmailLayout to MailLayout

Run SQL:

DROP TABLE system_mail_layouts;
DROP TABLE system_mail_templates;
RENAME TABLE system_email_layouts TO system_mail_layouts;
RENAME TABLE system_email_templates TO system_mail_templates;
DELETE FROM migrations WHERE migration = '2013_10_01_000008_Db_System_Email_Templates';
DELETE FROM migrations WHERE migration = '2013_10_01_000009_Db_System_Email_Layouts';
UPDATE system_settings SET item = 'system_mail_settings' WHERE item = 'system_email_settings';

Was this article helpful?

comments powered by Disqus
Still need help?
October Forum

Community members share experiences, ask questions and exchange tips.

Discord

Talk with other October CMS developers in real time.

Custom Development

Hire the October CMS team to work on your website.

Contact Us

For bug reports and help with this website. See the roadmap or submit an idea on the Portal.