Commanding Chaos for Coworking, Open Source and Creative Communities

Error message

  • Deprecated function: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in drupal_session_initialize() (line 245 of includes/session.inc).
  • Deprecated function: Creation of dynamic property alpha_theme_container::$delta is deprecated in alpha_theme_container->__construct() (line 25 of sites/all/themes/contrib/omega/alpha/includes/base.inc).

Use PHP 5.3 namespaces | drupal.org

Wed, 02/29/2012 - 06:30 -- rprice

At the very least (if we are on PHP 5.3) we could have something like:

namespace drupal\dblog;
at the top of every file.

Files in the includes directory would have:

namespace drupal;
The only time 'drupal' would be seen in a function name would be when calling an API function in a different module, e.g.

\drupal\system\flush_caches();