Merge pull request #4004 from civicrm/4.4
[civicrm-core.git] / CRM / Admin / Form / RelationshipType.php
index d40d93fbd76a992e1530a29840c30582811eb0b2..c03c8fc82fa9ed898381fd20261687295e31225c 100644 (file)
@@ -47,9 +47,9 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form {
    */
   public function buildQuickForm() {
     parent::buildQuickForm();
+    $this->setPageTitle(ts('Relationship Type'));
 
     if ($this->_action & CRM_Core_Action::DELETE) {
-
       return;
     }
 
@@ -100,6 +100,9 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form {
     }
   }
 
+  /**
+   * @return array
+   */
   function setDefaultValues() {
     if ($this->_action != CRM_Core_Action::DELETE &&
       isset($this->_id)
@@ -168,6 +171,6 @@ class CRM_Admin_Form_RelationshipType extends CRM_Admin_Form {
       CRM_Core_Session::setStatus(ts('The Relationship Type has been saved.'), ts('Saved'), 'success');
     }
   }
-  //end of function
+
 }