No need to generate private __construct() function if the class is already final

Reviewed By: lucas


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664935 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_php_generator.cc b/compiler/cpp/src/generate/t_php_generator.cc
index 092244e..cb11d48 100644
--- a/compiler/cpp/src/generate/t_php_generator.cc
+++ b/compiler/cpp/src/generate/t_php_generator.cc
@@ -110,10 +110,6 @@
       "const " << (*c_iter)->get_name() << " = " << value << ";" << endl;
   }
 
-  // Prevent instantiation of this class
-  f_types_ <<
-    indent() << "private function __construct() {}" << endl;
-
   indent_down();
   f_types_ << "}" << endl << endl;
 }