removed support for $vars['buttons'] as it was deprecated in Elgg 1.8