https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112432

Revision: 112432
Author:   nikerabbit
Date:     2012-02-26 13:07:56 +0000 (Sun, 26 Feb 2012)
Log Message:
-----------
Removing code thas been commented out almost a year, ping r88308

Modified Paths:
--------------
    trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php

Modified: 
trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php     
2012-02-26 12:58:02 UTC (rev 112431)
+++ trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php     
2012-02-26 13:07:56 UTC (rev 112432)
@@ -110,18 +110,6 @@
        }
 
        /**
-        * Determine the datatype of the values that are described by this 
object.
-        * Most descriptins can only describe wiki pages, so this is the 
default,
-        * but some descriptions may refer to other datatypes, and overwrite 
this
-        * function accordingly.
-        *
-        * @return string
-        */
-//     public function getTypeID() {
-//             return '_wpg';
-//     }
-
-       /**
         * Recursively restrict query to a maximal size and depth as given.
         * Returns a possibly changed description that should be used as a 
replacement.
         * Reduce values of parameters to account for the returned descriptions 
size.
@@ -177,16 +165,6 @@
                return $this;
        }
 
-       /**
-        * Return an empty type id since we cannot know the datatype of values 
that
-        * are described by this description. This type should not be relevant 
in
-        * any place, since description types are currently only necessary for
-        * processing an SMWSomeProperty object where the property does not 
specify
-        * the type.
-        */
-//     public function getTypeID() {
-//             return '';
-//     }
 }
 
 /**
@@ -462,10 +440,6 @@
                return 1;
        }
 
-//     public function getTypeID() {
-//             return $this->m_dataItem->getTypeID();
-//     }
-
 }
 
 
@@ -548,14 +522,6 @@
                return $depth;
        }
 
-//     public function getTypeID() {
-//             if ( count( $this->m_descriptions ) > 0 ) { // all 
subdescriptions should have the same type!
-//                     return reset( $this->m_descriptions )->getTypeID();
-//             } else {
-//                     return ''; // unknown
-//             }
-//     }
-
        public function getQueryFeatures() {
                $result = SMW_CONJUNCTION_QUERY;
 
@@ -718,14 +684,6 @@
                return $depth;
        }
 
-//     public function getTypeID() {
-//             if ( count( $this->m_descriptions ) > 0 ) { // all 
subdescriptions should have the same type!
-//                     return reset( $this->m_descriptions )->getTypeID();
-//             } else {
-//                     return ''; // unknown
-//             }
-//     }
-
        public function getQueryFeatures() {
                $result = SMW_DISJUNCTION_QUERY;
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to