Looks like they removed the pineapple command, unfortunately I couldn't find the doco or changelog about this.
I had to take the code in /usr/bin/pineapple/notify (which is in PHP), and wrap a new PHP function around it, then include it and call it in MyPortal.php.
Hope someone comes up with a better way to do this.