Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsUI.php 2 locations

@@ 4904-4905 (lines=2) @@
4901
						$restricted = false;
4902
					} elseif ( ! in_array( 'delete', $this->actions_disabled ) && current_user_can( 'pods_delete_' . $this->pod->pod ) && current_user_can( 'pods_delete_others_' . $this->pod->pod ) ) {
4903
						$restricted = false;
4904
					} elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) {
4905
						$restricted = false;
4906
					}
4907
				} elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) {
4908
					$restricted = false;
@@ 4907-4908 (lines=2) @@
4904
					} elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) {
4905
						$restricted = false;
4906
					}
4907
				} elseif ( current_user_can( 'pods_' . $action . '_' . $this->pod->pod ) && current_user_can( 'pods_' . $action . '_others_' . $this->pod->pod ) ) {
4908
					$restricted = false;
4909
				}
4910
			}//end if
4911
			/*