1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

push changes

This commit is contained in:
Georg Ehrke 2012-05-05 22:54:14 +02:00
parent bac79220a1
commit 7087845860
2 changed files with 1 additions and 6 deletions

View File

@ -25,6 +25,4 @@ OCP\App::addNavigationEntry( array(
OCP\App::registerPersonal('contacts','settings');
OCP\Util::addscript('contacts', 'loader');
OC_Search::registerProvider('OC_Search_Provider_Contacts');
if(!file_exists(OC::$SERVERROOT.'/remote/carddav.php')){
file_put_contents(OC::$SERVERROOT.'/remote/carddav.php', file_get_contents(OC::$APPSROOT . '/apps/contacts/appinfo/remote.php'));
}
OCP\CONFIG::setAppValue('core', 'carddav', '/apps/contacts/appinfo/remote.php');

View File

@ -19,9 +19,6 @@
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
// Do not load FS ...
$RUNTIME_NOSETUPFS = true;
require_once('../lib/base.php');
OCP\App::checkAppEnabled('contacts');