Homec4science

Use define() instead of PHP 5.3-only global 'const' in upgrade_schema.php

Authored by epriestley <git@epriestley.com> on Apr 30 2011, 08:13.

Description

Use define() instead of PHP 5.3-only global 'const' in upgrade_schema.php

Summary:
This global 'const' syntax was introduced in PHP 5.3:

http://www.php.net/manual/en/language.constants.syntax.php

We're PHP 5.2.x elsewhere so just use define(). Made the constant a little more
specific too.

Test Plan:
Ran upgrade_schema.php script.

Reviewed By: Girish
Reviewers: tuomaspelkonen, Girish, davidrecordon
CC: jungejason, aran, epriestley, Girish
Differential Revision: 190

Details

Committed
epriestley <git@epriestley.com>Apr 30 2011, 08:18
Pushed
aubortJan 31 2017, 17:16
Parents
rPHb3397030e6c9: Fix Differential "unsubscribe" so it properly blocks resubscription
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3e2f6481750a: Use define() instead of PHP 5.3-only global 'const' in upgrade_schema.php (authored by epriestley <git@epriestley.com>).Apr 30 2011, 08:18