Re: Kinda late question about the new getProperty() implementation

Benedikt Laube <[email protected]> Mon, 15 Aug 2005 18:00:37 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Hi Lukas,

thanks for your hint. I was under the impression that I could alias
the property names in the LU config. Of course, search and replace
would do it but I am reluctant to do it on a live website.

But well it looks like it's my only option. What was it again...

for file in `grep -l "getProperty(authUserId)" /data/*`; do
  sed 's/getProperty(authUserId)/getProperty(\'auth_user_id\')/g'
$file >/tmp/$$ && mv /tmp/$$ $file
done

oh well here we go =8-O

Cheers
Benedikt