1
0
Alex Trofimov 9 жил өмнө
parent
commit
d1eb4539cf

+ 6 - 7
inc/classes/BxDolCmts.php

@@ -3,13 +3,6 @@
  * Copyright (c) UNA, Inc - https://una.io
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  * MIT License - https://opensource.org/licenses/MIT
  *
  *
- * @defgroup Objects
- * @{
- * @page objects Objects
- * @section comments Comments
- * @ref BxDolCmts
- * @}
- *
  * @defgroup    UnaCore UNA Core
  * @defgroup    UnaCore UNA Core
  * @{
  * @{
  */
  */
@@ -46,6 +39,12 @@ define('BX_CMT_PFP_BOTTOM', 'bottom');
 define('BX_CMT_RATE_VALUE_PLUS', 1);
 define('BX_CMT_RATE_VALUE_PLUS', 1);
 define('BX_CMT_RATE_VALUE_MINUS', -1);
 define('BX_CMT_RATE_VALUE_MINUS', -1);
 
 
+/**
+ * @page objects
+ * @section comments Comments
+ * @ref BxDolCmts
+ */
+
 /**
 /**
  * Comments for any content
  * Comments for any content
  *
  *

+ 1 - 1
inc/classes/BxDolDb.php

@@ -230,7 +230,7 @@ class BxDolDb extends BxDolFactory implements iBxDolSingleton
      */
      */
     function getOption($sName)
     function getOption($sName)
     {
     {
-    	$oStatement = $this->pdoQuery("SELECT @@{$sName}");
+    	//TODO: test
     	return $this->getOne($oStatement);
     	return $this->getOne($oStatement);
     }
     }
 
 

+ 6 - 7
inc/classes/BxDolStorage.php

@@ -3,13 +3,6 @@
  * Copyright (c) UNA, Inc - https://una.io
  * Copyright (c) UNA, Inc - https://una.io
  * MIT License - https://opensource.org/licenses/MIT
  * MIT License - https://opensource.org/licenses/MIT
  *
  *
- * @defgroup Objects
- * @{
- * @page objects Objects
- * @section storage Storage
- * @ref BxDolStorage
- * @}
- *
  * @defgroup    UnaCore UNA Core
  * @defgroup    UnaCore UNA Core
  * @{
  * @{
  */
  */
@@ -65,6 +58,12 @@ define('BX_DOL_STORAGE_DEFAULT_ICON_FONT', 'file-o'); ///< default font icon if
 
 
 define('BX_DOL_STORAGE_QUEUED_DELETIONS_PER_RUN', 200); ///< max number of file deletions per one cron run, @see BxDolStorage::pruneDeletions
 define('BX_DOL_STORAGE_QUEUED_DELETIONS_PER_RUN', 200); ///< max number of file deletions per one cron run, @see BxDolStorage::pruneDeletions
 
 
+/**
+ * @page objects
+ * @section storage Storage
+ * @ref BxDolStorage
+ */
+
 /**
 /**
  * This class unify storage.
  * This class unify storage.
  * As the result there are many advantages:
  * As the result there are many advantages: