setMailerTheme($newTheme);
// Remove current from array
- removeIncludeFromPool('theme', sprintf("theme/%s/theme.php", getCurrentTheme()));
+ removeIncludeFromPool('theme', sprintf('theme/%s/theme.php', getCurrentTheme()));
// Add new theme
- addIncludeToPool('theme', sprintf("theme/%s/theme.php", $newTheme));
+ addIncludeToPool('theme', sprintf('theme/%s/theme.php', $newTheme));
// Redirect to same URL
redirectToRequestUri();