uafrica / oauth-server

OAuth Server
Other
51 stars 51 forks source link

small change that allows the plugin to be run with php < 5.6 #12

Closed davalb closed 9 years ago

davalb commented 9 years ago

Using functions when instantiating properties seems to be not possible in php < 5.6. This small change makes oauth-server compatible with lower php versions (tested on php 5.5)

dakota commented 9 years ago

Thanks. Forgot that older PHP versions don't support this!