That's nonsense.
The code snippet in question already exists in version 2.14 or even older. Therefore, this cannot be the problem.
From version 2.15 onwards there were other changes in installscript.php.
Think about it carefully. Which developer is so stupid as to cheat their customers. And what...