aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-11-15 03:54:10 (EST)
committerzzhongwei2012-11-15 03:54:10 (EST)
commit4077a247a1305ab3d0b5f6412625b2ca647dd776 (patch)
tree78557ef5fc777ab1d5e024046f6cffeb4c1b680f
parentdee1e986d4e2e0a27e9b436b56761a7ccce195fe (diff)
downloadorg.eclipse.pdt-4077a247a1305ab3d0b5f6412625b2ca647dd776.zip
org.eclipse.pdt-4077a247a1305ab3d0b5f6412625b2ca647dd776.tar.gz
org.eclipse.pdt-4077a247a1305ab3d0b5f6412625b2ca647dd776.tar.bz2
revert the change since Jacek already has fixed it.
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacets.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacets.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacets.java
index b3e5cbc..b86412a 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacets.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/facet/PHPFacets.java
@@ -19,7 +19,6 @@ import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.*;
import org.eclipse.php.internal.core.PHPCorePlugin;
import org.eclipse.php.internal.core.PHPVersion;
-import org.eclipse.php.internal.core.project.ProjectOptions;
import org.eclipse.wst.common.project.facet.core.IFacetedProject;
import org.eclipse.wst.common.project.facet.core.IProjectFacet;
import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
@@ -137,9 +136,6 @@ public class PHPFacets {
* @return the php facets version
*/
public static IProjectFacetVersion convertToFacetVersion(PHPVersion version) {
- if (version == null) {
- version = ProjectOptions.getDefaultPhpVersion();
- }
IProjectFacet phpFacet = ProjectFacetsManager
.getProjectFacet(PHPFacetsConstants.PHP_COMPONENT);
switch (version) {