Merge pull request #1002 from Robbt/remove-facebook-widget-link

Remove facebook widget link
This commit is contained in:
Kyle Robbertze 2020-04-18 15:05:48 +02:00 committed by GitHub
commit be932109e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -57,12 +57,6 @@ $pages[] = array(
'module' => 'default',
'controller' => 'embeddablewidgets',
'action' => 'schedule',
),
array(
'label' => _('Facebook'),
'module' => 'default',
'controller' => 'embeddablewidgets',
'action' => 'facebook',
)
)
);

View File

@ -43,6 +43,7 @@ class EmbeddableWidgetsController extends Zend_Controller_Action
}
}
// The Facebook widget is untested & unsupported, the widget has been removed from the navigation in navigation.php
public function facebookAction()
{
Zend_Layout::getMvcInstance()->assign('parent_page', 'Widgets');