Merge branch '4.4' of https://github.com/civicrm/civicrm-core
[civicrm-core.git] / api / v3 / Website.php
index ed7f52dbe521a5579050cad6b0b590c7a3691234..5aff8ea485f1c2de4eda610294abb376a09c613c 100644 (file)
@@ -1,9 +1,8 @@
 <?php
-// $Id$
 
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -37,8 +36,6 @@
  * @version $Id: Website.php 2011-03-16 ErikHommel $
  */
 
-require_once 'CRM/Core/BAO/Website.php';
-
 /**
  *  Add an Website for a contact
  *
@@ -58,9 +55,9 @@ function civicrm_api3_website_create($params) {
     $values = array();
     _civicrm_api3_object_to_array($websiteBAO, $values[$websiteBAO->id]);
     return civicrm_api3_create_success($values, $params, 'website', 'get');
+}
 
-  }
-/*
+/**
  * Adjust Metadata for Create action
  *
  * The metadata is used for setting defaults, documentation & validation