Commit 52c82c89 authored by lphuberdeau's avatar lphuberdeau

[FIX] Removing includes that point to the wrong location

parent 6d2fdbb1
......@@ -190,8 +190,6 @@ if (!isset($_REQUEST['export_type'])) {
$smarty->assign( 'export_type', $_REQUEST['export_type']);
if (isset($_REQUEST['export']) && $_REQUEST['export_type'] === 'prefs') {
include_once 'lib/Horde/Yaml.php';
include_once 'lib/Horde/Yaml/Dumper.php';
$export_yaml = Horde_Yaml::dump( array( 'preferences' => $_REQUEST['prefs_to_export'] ),
array('indent' => 1, 'wordwrap' => 0));
......
......@@ -57,10 +57,6 @@ function wikiplugin_webservice_info() {
function wikiplugin_webservice( $data, $params ) {
require_once 'lib/ointegratelib.php';
require_once( 'lib/Horde/Yaml.php' );
require_once( 'lib/Horde/Yaml/Loader.php' );
require_once( 'lib/Horde/Yaml/Node.php' );
require_once( 'lib/Horde/Yaml/Exception.php' );
if( isset( $params['bodyname'] ) && ! empty($params['bodyname']) ) {
$params[ $params['bodyname'] ] = $data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment