PHP4 Compatability in 5.x-4.x

sethfreach - July 7, 2009 - 16:26
Project:Activity
Version:5.x-4.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

the function_that_returns_object()->member syntax isn't supported in PHP4. Since PHP5 isn't a requisite for Drupal 5, modules should be able to run in a PHP4 environment. Patch simply assigns function return object to a variable and then dereferences that variable.

AttachmentSize
activity.module-4.x-dev.patch1.6 KB

#1

sirkitree - November 4, 2009 - 05:46
Status:needs review» won't fix

5.x unsupported please see 6.x-2

 
 

Drupal is a registered trademark of Dries Buytaert.