summaryrefslogtreecommitdiffstats
path: root/lib/composer
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-04-05 16:23:01 +0200
committerLukas Reschke <lukas@owncloud.com>2016-04-05 16:47:38 +0200
commit433c0160b6e1fb558216447b49d09c8efeecd6ce (patch)
tree0c1d1671b6f8e37eea3977f897534e2fec521189 /lib/composer
parent90335ee2a1f214b32670ab2c65f8f87c95a71828 (diff)
downloadnextcloud-server-433c0160b6e1fb558216447b49d09c8efeecd6ce.tar.gz
nextcloud-server-433c0160b6e1fb558216447b49d09c8efeecd6ce.zip
Move OC\Core and OC\Settings to composer autoloader
Diffstat (limited to 'lib/composer')
-rw-r--r--lib/composer/composer/LICENSE2
-rw-r--r--lib/composer/composer/autoload_psr4.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/composer/composer/LICENSE b/lib/composer/composer/LICENSE
index c8d57af8b27..1a28124886d 100644
--- a/lib/composer/composer/LICENSE
+++ b/lib/composer/composer/LICENSE
@@ -1,5 +1,5 @@
-Copyright (c) 2015 Nils Adermann, Jordi Boggiano
+Copyright (c) 2016 Nils Adermann, Jordi Boggiano
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/lib/composer/composer/autoload_psr4.php b/lib/composer/composer/autoload_psr4.php
index 4610a912c6d..2561f0048c5 100644
--- a/lib/composer/composer/autoload_psr4.php
+++ b/lib/composer/composer/autoload_psr4.php
@@ -6,6 +6,8 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname(dirname($vendorDir));
return array(
+ 'OC\\Settings\\' => array($baseDir . '/settings'),
+ 'OC\\Core\\' => array($baseDir . '/core'),
'OC\\' => array($baseDir . '/lib/private'),
'OCP\\' => array($baseDir . '/lib/public'),
);