]> git.mxchange.org Git - city.git/commitdiff
Removed code from importing it from 'hub' project (also a daemon).
authorRoland Haeder <roland@mxchange.org>
Thu, 27 Aug 2015 00:52:42 +0000 (02:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 27 Aug 2015 00:52:42 +0000 (02:52 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/city/classes/city_daemon/class_BaseCityDaemon.php
application/city/classes/class_

index 8584bebd2ac0ce840de6d382b2585e94f53ab6c7..64fd872a28fe8c1746d4c1de48839c7c8f76bdd4 100644 (file)
@@ -110,21 +110,6 @@ class BaseCityDaemon extends BaseCitySystem implements Updateable, AddableCriter
 
                // Add the City id
                $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_CITY_ID, $this->getCityId());
-
-               // Add the session id if acquired
-               if ($this->getSessionId() != '') {
-                       $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_SESSION_ID, $this->getSessionId());
-               } // END - if
-
-               // Add the private key if acquired
-               if ($this->getPrivateKey() != '') {
-                       $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_PRIVATE_KEY, base64_encode($this->getPrivateKey()));
-                       $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_PRIVATE_KEY_HASH, $this->getPrivateKeyHash());
-               } // END - if
-
-               // Add own external and internal addresses as UNLs
-               $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_INTERNAL_UNL, CityTools::determineOwnInternalAddress());
-               $criteriaInstance->addCriteria(CityInformationDatabaseWrapper::DB_COLUMN_EXTERNAL_UNL, CityTools::determineOwnExternalAddress());
        }
 
        /**
@@ -138,7 +123,7 @@ class BaseCityDaemon extends BaseCitySystem implements Updateable, AddableCriter
         */
        public function updateDatabaseField ($fieldName, $fieldValue) {
                // Unfinished
-               $this->partialStub('Unfinished!');
+               $this->partialStub('Unfinished: fieldName=' . $fieldName . ',fieldValue=' . $fieldValue);
                return;
 
                // Get a critieria instance
index 2ebd8759474ac7673624169efeeae9ee5b0820fb..5fbbc4edd5f554312e38ab1f06bd42c185e55bc5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A ???
+ * A ??? city class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class ??? extends BaseFrameworkSystem implements === {
+class ??? extends BaseCitySystem implements === {
        /**
         * Protected constructor
         *