Thread:Manual talk:Skin autodiscovery/Error Message

I got annoyed with the error message, and it didn't go away after following the instructions in this article, so i went into /includes/debug/Debug.php, deleted the if function on line 303, and left my skin as-is. I plan to never upgrade, but security isn't an issue because I .htaccess protected the /wiki directory and chmod 600'd my .htaccess and LocalSettings.php.