Portfolio plugins explicitly requires parent library with superclass definition
authorDavid Mudrak <david.mudrak@gmail.com>
Sun, 27 Jun 2010 14:46:15 +0000 (14:46 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Sun, 27 Jun 2010 14:46:15 +0000 (14:46 +0000)
commitf675815e973957a300ef8dd9e471f79a256eb862
tree655286d1ae8521b200f6b272aa5eb26f8cea1a86
parente80cfb843894c3d5eb22fb99bd622a9b2e3db872
Portfolio plugins explicitly requires parent library with superclass definition

I have discovered a bug with GoogleDocs portfolio in events. An event
handler was defined in googledocs/lib.php and so the cron included just
this library. But the inclusion failed because the superclass
portfolio_plugin_push_base was not known to cron.

IMHO it is generally good habit to require_once the file which defines
the parent classes.
portfolio/boxnet/lib.php
portfolio/flickr/lib.php
portfolio/googledocs/lib.php
portfolio/picasa/lib.php